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

Re: [PATCH] merge: Make merge strategy message follow the diffstat

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 13, 2012, 19:12 UTC
Message-ID
<7vaa5rzaax.fsf_-_@alter.siamese.dyndns.org>
In-Reply-To
<20120111184026.GA23952@windriver.com>
Paul Gortmaker <paul.gortmaker@windriver.com> writes:
> By moving the message after the diffstat, there is a better chance that
> people will be aware they've done a pointless merge commit.
>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
I think the goal of the change may be worthy, but a few points:
 - What does "automsg" mean? Is "auto" in contrast to "manual"? Even
   better, wouldn't it be far simpler to just use
	if (msg && verbosity >= 0)
		printf("%s\n", msg);
   and get rid of this mysteriously named variable altogether?
 - Wouldn't it make more sense to move "No merge message -- not updating
   HEAD" also to the end?
 - After applying this patch, does the tests still pass?
Thanks.
Previous: Paul GortmakerNext: Nguyen Thai Ngoc Duy
Message 17 of 20 in “Re: Regulator updates for 3.3”
  1. Linus TorvaldsJan 10, 2012
  2. Mark BrownJan 10, 2012
  3. Junio C HamanoJan 11, 2012
  4. Linus TorvaldsJan 11, 2012
  5. Junio C HamanoJan 11, 2012
  6. Linus TorvaldsJan 11, 2012
  7. Re* Regulator updates for 3.3Junio C Hamano, Jan 11, 2012
  8. Phil HordJan 11, 2012
  9. Linus TorvaldsJan 11, 2012
  10. Pete HarlanJan 16, 2012
  11. Junio C HamanoJan 16, 2012
  12. Martin FickJan 16, 2012
  13. Pete HarlanJan 17, 2012
  14. Junio C HamanoJan 17, 2012
  15. Linus TorvaldsJan 11, 2012
  16. Paul GortmakerJan 11, 2012
  17. Junio C HamanoJan 13, 2012
  18. Nguyen Thai Ngoc DuyJan 13, 2012
  19. Linus TorvaldsJan 13, 2012
  20. Miles BaderJan 17, 2012

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.