Merge pull request #8 from nak2k/fix-exit-code

Fix a exit code of 'git now add -A'.
This commit is contained in:
Motonori Iwata 2013-11-16 05:09:09 -08:00
commit fc8b07c108

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
}