aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-15 16:48:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-15 16:48:30 -0200
commit72e34c0b442bfbc8db8d9c68e87b2aff842878e2 (patch)
treecf949c24066da7409606457d7dc1f6f2467e7d8f
parenta5e180fe77a7aaccfcbd26aba8ee1c484ef9aad6 (diff)
downloadscripts-72e34c0b442bfbc8db8d9c68e87b2aff842878e2.tar.gz
scripts-72e34c0b442bfbc8db8d9c68e87b2aff842878e2.tar.bz2
Giving to the user the full path for .git/config
-rwxr-xr-xcommit2
1 files changed, 1 insertions, 1 deletions
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 <<EOF >> .git/config"
+ echo "cat <<EOF >> $GIT_FOLDER/.git/config"
grep -A 2 "^\[user\]" $HOME/.gitconfig
echo "EOF"
fi