git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
KGKevin Geiss <kevin@desertsol.com>
Date
Nov 14, 2005, 16:42 UTC
Message-ID
<20051114164236.GD9131@raven.localdomain>
---
 git-cvsexportcommit.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 7e45b599120811e135c41136fae7570af7f5437b f615833f7dad1372b93c90814674e13800e4bd63

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
Message 1 of 1 in “git-cvsexportcommit.perl: exit with non-0 status if patch fails.”
  1. 3/4 git-cvsexportcommit.perl: exit with non-0 status if patch fails.Kevin Geiss, Nov 14, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.