diff options
author | Kevin Geiss <kevin@desertsol.com> | 2005-11-14 09:42:36 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-16 13:20:59 -0800 |
commit | 8b3fbeef395295c0d2de61265632ed30eda7bf0a (patch) | |
tree | 5e97cdc83785fcfdbb9405ac0fb83d8e40a8d4b9 | |
parent | git-cvsexportcommit.perl: use getopts to get binary flags (diff) | |
download | tgif-8b3fbeef395295c0d2de61265632ed30eda7bf0a.tar.xz |
git-cvsexportcommit.perl: exit with non-0 status if patch fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-x | git-cvsexportcommit.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index da7dcda3b6..d49494abc2 100755 --- a/git-cvsexportcommit.perl +++ b/git-cvsexportcommit.perl @@ -190,7 +190,7 @@ if ($dirtypatch) { print "NOTE: One or more hunks failed to apply cleanly.\n"; print "Resolve the conflicts and then commit using:n"; print "\n $cmd\n\n"; - exit; + exit(1); } |