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 /git-cvsexportcommit.perl | |
parent | ebdbfa8b556c9b4cebf27cb5f9364c9c19274620 (diff) | |
download | git-8b3fbeef395295c0d2de61265632ed30eda7bf0a.tar.gz git-8b3fbeef395295c0d2de61265632ed30eda7bf0a.tar.xz |
git-cvsexportcommit.perl: exit with non-0 status if patch fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-cvsexportcommit.perl')
-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 da7dcda3b..d49494abc 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); } |