]> gitweb.fluxo.info Git - scripts.git/commitdiff
TODO
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Jan 2013 21:52:50 +0000 (19:52 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Jan 2013 21:52:50 +0000 (19:52 -0200)
commit

diff --git a/commit b/commit
index d8d6aaa1d09db9fcbb19470d7d618bae1760ca43..fc5df312179fa1bc0d30d35d05785328a16e3ae0 100755 (executable)
--- 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