diff options
-rwxr-xr-x | commit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ function git_push { # Check user information function git_user { - if [ -z "`git config user.email`" ] && [ -z "`git config user.name`" ]; then + if [ -z "`git config user.email`" ] || [ -z "`git config user.name`" ]; then if echo $ARGS | grep -q -- '--config'; then if grep -q "^\[user\]" $HOME/.gitconfig; then grep -A 2 "^\[user\]" $HOME/.gitconfig >> $GIT_FOLDER/.git/config |