diff options
Diffstat (limited to 'commit')
-rwxr-xr-x | commit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |