From: Silvio Rhatto Date: Sat, 19 Jan 2013 21:52:50 +0000 (-0200) Subject: TODO X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=cb68828dd0fee670afc296b7ba577cde7aabc176;p=scripts.git TODO --- diff --git a/commit b/commit index d8d6aaa..fc5df31 100755 --- a/commit +++ b/commit @@ -87,6 +87,7 @@ function git_push { # Check user information function git_user { if ! grep -q "^\[user\]" $GIT_FOLDER/.git/config; then + # TODO: remove '--config' from args, otherwise it goes to the commit log if echo $ARGS | grep -q -- '--config'; then grep -A 2 "^\[user\]" $HOME/.gitconfig >> $GIT_FOLDER/.git/config else