From 72e34c0b442bfbc8db8d9c68e87b2aff842878e2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 15 Jan 2013 16:48:30 -0200 Subject: Giving to the user the full path for .git/config --- commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3