mirror of
https://github.com/iwata/git-now.git
synced 2026-09-10 07:26:29 -04:00
Fix a exit code of 'git now add -A'.
This commit is contained in:
parent
09f042ac82
commit
2466915649
|
|
@ -43,7 +43,9 @@ cmd_default() {
|
|||
else
|
||||
printf "${MESSAGE}\n\n%s" "`git diff --cached --no-ext-diff`" | git commit -F -
|
||||
fi
|
||||
$is_push && git push
|
||||
if $is_push; then
|
||||
git push
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue