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

[PATCH] Fix git-merge-cache -q

From
Petr Baudis <pasky@ucw.cz>
Date
Aug 4, 2005, 22:31 UTC
Message-ID
<20050804223112.GG24479@pasky.ji.cz>

I'm totally stupid and got it backwards, sorry about that. git-merge-cache -q would mean it's noisy and quiet without any parameters.

Signed-off-by: Petr Baudis <pasky@ucw.cz>

--- commit 1d86b5cb68dd47b4fced8343945c8860946df5d2 tree 25c4f9cabd6db8c92ab1b0313093d898c03b2b7a parent 04c23173a8120f3bd2ae8af545e7e4f62c505ef0 author Petr Baudis <pasky@suse.cz> Sat, 30 Jul 2005 13:07:03 +0200 committer Petr Baudis <xpasky@machine.sinus.cz> Sat, 30 Jul 2005 13:07:03 +0200

 merge-cache.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/merge-cache.c b/merge-cache.c
--- a/merge-cache.c
+++ b/merge-cache.c
@@ -30,7 +30,7 @@ static void run_program(void)
 		if (one_shot) {
 			err++;
 		} else {
-			if (quiet)
+			if (!quiet)
 				die("merge program failed");
 			exit(1);
 		}
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
 		}
 		merge_file(arg);
 	}
-	if (err && quiet)
+	if (err && !quiet)
 		die("merge program failed");
 	return err;
 }
Message 1 of 1 in “Fix git-merge-cache -q”
  1. Fix git-merge-cache -qPetr Baudis, Aug 4, 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.