Fix a exit code of 'git now add -A'.

This commit is contained in:
Kengo Nakatsuka 2013-11-16 14:30:13 +09:00
parent 09f042ac82
commit 2466915649

View file

@ -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
}