summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Kevin Geiss <kevin@desertsol.com>2005-11-14 09:42:36 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-16 13:20:59 -0800
commit8b3fbeef395295c0d2de61265632ed30eda7bf0a (patch)
tree5e97cdc83785fcfdbb9405ac0fb83d8e40a8d4b9
parentgit-cvsexportcommit.perl: use getopts to get binary flags (diff)
downloadtgif-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-xgit-cvsexportcommit.perl2
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);
}