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

[PATCH] Teach merge.log to "git-merge" again

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 10, 2008, 07:50 UTC
Message-ID
<7v7ibuqisc.fsf@gitster.siamese.dyndns.org>
The command forgot the configuration variable when rewritten in C.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 builtin-merge.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/builtin-merge.c b/builtin-merge.c
index 821edcd..bc3f921 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -519,8 +519,10 @@ int git_merge_config(const char *k, const char *v, void *cb)
 	else if (!strcmp(k, "pull.twohead"))
 		return git_config_string(&pull_twohead, k, v);
 	else if (!strcmp(k, "pull.octopus"))
 		return git_config_string(&pull_octopus, k, v);
+	else if (!strcmp(k, "merge.log") || !strcmp(k, "merge.summary"))
+		option_log = git_config_bool(k, v);
 	return git_diff_ui_config(k, v, cb);
 }
 
 static int read_tree_trivial(unsigned char *common, unsigned char *head,
Next: Miklos Vajna
Message 1 of 3 in “Teach merge.log to "git-merge" again”
  1. Teach merge.log to "git-merge" againJunio C Hamano, Jul 10, 2008
  2. Add testcase for merge.logMiklos Vajna, Jul 10, 2008
  3. Miklos VajnaJul 14, 2008

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.