aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-06 15:17:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-06 15:17:49 -0200
commit0291cabe4837f0a3062f370f0807b0d3116e7414 (patch)
tree32c7c0779bd552fa4314877c2773615e7c45a7da
parent46abb30ffb1a0cdc6c590585bed46edd5ae570df (diff)
downloadscripts-0291cabe4837f0a3062f370f0807b0d3116e7414.tar.gz
scripts-0291cabe4837f0a3062f370f0807b0d3116e7414.tar.bz2
Updating commit script to new gitconfig location
-rwxr-xr-xcommit4
1 files changed, 2 insertions, 2 deletions
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 <<EOF >> $GIT_FOLDER/.git/config"
fi
- grep -A 2 "^\[user\]" $HOME/.gitconfig
+ grep -A 2 "^\[user\]" $HOME/.custom/gitconfig
echo "EOF"
echo ""