]> gitweb.fluxo.info Git - scripts.git/commitdiff
Updating commit script to new gitconfig location
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 6 Feb 2013 17:17:49 +0000 (15:17 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 6 Feb 2013 17:17:49 +0000 (15:17 -0200)
commit

diff --git a/commit b/commit
index 9fc654ee803524f2f8f1f4ad8aa9c9d04dcc74e1..edf0271d2e65f6e630bb3aa37cb7ab0c6130517d 100755 (executable)
--- 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 <<EOF >> $GIT_FOLDER/.git/config"
         fi
-        grep -A 2 "^\[user\]" $HOME/.gitconfig
+        grep -A 2 "^\[user\]" $HOME/.custom/gitconfig
         echo "EOF"
 
         echo ""