From: Silvio Rhatto Date: Wed, 6 Feb 2013 17:17:49 +0000 (-0200) Subject: Updating commit script to new gitconfig location X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0291cabe4837f0a3062f370f0807b0d3116e7414;p=scripts.git Updating commit script to new gitconfig location --- diff --git a/commit b/commit index 9fc654e..edf0271 100755 --- a/commit +++ b/commit @@ -95,7 +95,7 @@ function git_user { echo "This might be a privacy issue" echo "" - if [ -e "$HOME/.gitconfig" ]; then + if [ -e "$HOME/.custom/gitconfig" ]; then echo "You should try to use your default setting:" echo "" @@ -104,7 +104,7 @@ function git_user { else echo "cat <> $GIT_FOLDER/.git/config" fi - grep -A 2 "^\[user\]" $HOME/.gitconfig + grep -A 2 "^\[user\]" $HOME/.custom/gitconfig echo "EOF" echo ""