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

Re: fmt-merge-message: add empty line between tag and signature verification

From
Junio C Hamano <gitster@pobox.com>
Date
May 25, 2012, 17:05 UTC
Message-ID
<7vtxz4tcmn.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LFD.2.02.1205250850001.19607@i5.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 23 quoted lines
> When adding the information from a tag, put an empty line between the 
> message of the tag and the commented-out signature verification 
> information.
>
> At least for the kernel workflow, I often end up re-formatting the message 
> that people send me in the tag data. In that situation, putting the tag 
> message and the tag signature verification back-to-back then means that 
> normal editor "reflow parapgraph" command will get confused and think that 
> the signature is a continuation of the last message paragraph.
>
> So I always end up having to first add an empty line, and then go back and 
> reflow the last paragraph. Let's just do it in git directly.
>
> The extra vertical space also makes the verification visually stand out 
> more from the user-supplied message, so it looks a bit more readable to me 
> too, but that may be just an odd personal preference.
>
> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
> ---
> This is a throw-away patch - apply or not as you prefer. I thought I'd 
> send it out and see what people thought.
>
> I don't feel *that* strongly about it.

Speaking as one of "people" (as opposed to "the maintainer to decide one way or the other in bikeshedding"), I think this makes sense.

> Btw, I'd also like to see the merge notes (notably the conflict file list) 
> before the generated shortlog, but that seems to really not work with the 
> current fmt-merge-message model.  Oh well.

Postponing to assess if such a change is feasible, I am not sure if that ordering makes more sense than the current one. Is the objective to more strongly motivate people to explain what happened to the conflicts?

Previous: Linus TorvaldsNext: Linus Torvalds
Message 2 of 5 in “fmt-merge-message: add empty line between tag and signature verification”
  1. Linus TorvaldsMay 25, 2012
  2. Junio C HamanoMay 25, 2012
  3. Linus TorvaldsMay 25, 2012
  4. Martin FickMay 25, 2012
  5. Ralf ThielowMay 25, 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.