aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-19 19:52:50 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-19 19:52:50 -0200
commitcb68828dd0fee670afc296b7ba577cde7aabc176 (patch)
treebf8a7d016f4217fe2fe7d9c8527376a38e475008
parent3fa2db553c803b9d962835a5f6545a63b688ee1c (diff)
downloadscripts-cb68828dd0fee670afc296b7ba577cde7aabc176.tar.gz
scripts-cb68828dd0fee670afc296b7ba577cde7aabc176.tar.bz2
TODO
-rwxr-xr-xcommit1
1 files changed, 1 insertions, 0 deletions
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