]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fmt-merge-msg.c
fmt-merge-message: add empty line between tag and signature verification
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 May 2012 16:02:03 +0000 (09:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 May 2012 18:24:08 +0000 (11:24 -0700)
commita3347b988a338e95b7f3b11eda776ac0d7b84dd0
treeb48538117bd7c5dcd0a2ba60ab1a9b184f553b39
parentec84e069afd7845b1d6bb37d2aaefa913b0e0141
fmt-merge-message: add empty line between tag and signature verification

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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fmt-merge-msg.c