]> gitweb.fluxo.info Git - scripts.git/commitdiff
Minor fix at commit script
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Feb 2014 19:01:56 +0000 (16:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Feb 2014 19:01:56 +0000 (16:01 -0300)
commit

diff --git a/commit b/commit
index edf0271d2e65f6e630bb3aa37cb7ab0c6130517d..d55c8e61b1c877e9dd2cd3c56fc85fd55375ed5f 100755 (executable)
--- a/commit
+++ b/commit
@@ -120,7 +120,7 @@ function git_user {
 # Commit changes
 function git_commit {
   # Remove '--config' from args, otherwise it goes to the commit log
-  params="`echo $* | sed -e 's/--commit//'`"
+  params="`echo $* | sed -e 's/--config//'`"
   git commit -a -m "$params"
 }