Skip to contentSkip to conversation

git-cvsexportcommit.perl: exit with non-0 status if patch fails.

PATCH New Kevin Geiss 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

---

 git-cvsexportcommit.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 7e45b599120811e135c41136fae7570af7f5437b f615833f7dad1372b93c90814674e13800e4bd63

git-cvsexportcommit.perl +1 -1
index da7dcda..d49494a 100755
@@ -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