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

[PATCH] merge: don't document non-existing --compact-summary argument

From
René Scharfe <l.s.r@web.de>
Date
Aug 9, 2025, 10:00 UTC
Message-ID
<890631d1-4e3e-4ea5-8f58-371fadf2b1b3@web.de>

3a54f5bd5d (merge/pull: add the "--compact-summary" option, 2025-06-12) added the option --compact-summary to both merge and pull. It takes no no argument, but for merge it got an argument help string. Remove it, since it is unnecessary.

Signed-off-by: René Scharfe <l.s.r@web.de>
---
 builtin/merge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/merge.c b/builtin/merge.c
index dc4cb8fb14..ce880e6ccb 100644
--- a/builtin/merge.c
+++ b/builtin/merge.c
@@ -264,7 +264,7 @@ static struct option builtin_merge_options[] = {
 	OPT_BOOL(0, "stat", &show_diffstat,
 		N_("show a diffstat at the end of the merge")),
 	OPT_BOOL(0, "summary", &show_diffstat, N_("(synonym to --stat)")),
-	OPT_CALLBACK_F(0, "compact-summary", &show_diffstat, N_("compact-summary"),
+	OPT_CALLBACK_F(0, "compact-summary", &show_diffstat, NULL,
 		       N_("show a compact-summary at the end of the merge"),
 		       PARSE_OPT_NOARG,
 		       option_parse_compact_summary),
-- 
2.50.1
Next: Junio C Hamano
Message 1 of 2 in “merge: don't document non-existing --compact-summary argument”
  1. merge: don't document non-existing --compact-summary argumentRené Scharfe, Aug 9, 2025
  2. Junio C HamanoAug 10, 2025

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.