From e611f0765fa1ba434ecae80f08342f4a31384360 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 15 Jan 2013 17:27:58 -0200 Subject: Minor fix --- commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit b/commit index 3cf9980..f826275 100755 --- a/commit +++ b/commit @@ -87,7 +87,7 @@ function git_push { # Check user information function git_user { if ! grep -q "^\[user\]" $GIT_FOLDER/.git/config; then - if echo $ARGS | grep -q '--config'; then + if echo $ARGS | grep -q -- '--config'; then grep -A 2 "^\[user\]" $HOME/.gitconfig >> $GIT_FOLDER/.git/config else -- cgit v1.2.3