threads / patch / 2498

patch, 4 partsgit-cvsexportcommit.perl: exit with non-0 status if patch fails.

Subject: [PATCH 3/4] git-cvsexportcommit.perl: exit with non-0 status if patch fails.

## tl;dr

One message between Nov 14, 2005 and Nov 14, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Kevin Geiss· Nov 14, 2005, 16:42 UTC · lore
---
 git-cvsexportcommit.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 7e45b599120811e135c41136fae7570af7f5437b f615833f7dad1372b93c90814674e13800e4bd63

Show changes to git-cvsexportcommit.perl +1 −1
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index da7dcda..d49494a 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);
 }
 
 
---
0.99.9.GIT

← back to recent threads