From: Silvio Rhatto Date: Tue, 15 Jan 2013 18:48:30 +0000 (-0200) Subject: Giving to the user the full path for .git/config X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=72e34c0b442bfbc8db8d9c68e87b2aff842878e2;p=scripts.git Giving to the user the full path for .git/config --- diff --git a/commit b/commit index 2be27dd..bc226f0 100755 --- a/commit +++ b/commit @@ -89,7 +89,7 @@ function git_user { if [ -e "$HOME/.gitconfig" ]; then echo "You should try to use your default setting:" - echo "cat <> .git/config" + echo "cat <> $GIT_FOLDER/.git/config" grep -A 2 "^\[user\]" $HOME/.gitconfig echo "EOF" fi