Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH/RFC v2] Do not strip empty lines / trailing spaces from a commit message template

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:11

Possibly related (same subject, not in this thread)

Sebastian Schuberth [off-list ref] writes:
On 08.05.2011 12:31, Boris Faure wrote:
quoted
Templates should be just that: A form that the user fills out, and forms
have blanks. If people are attached to not having extra whitespace in the
editor, they can simply clean up their templates.

Added test with editor adding even more whitespace.

Signed-off-by: Boris Faure<redacted>
Based-on-patch-by:Sebastian Schuberth[off-list ref]
Thanks for rebasing the patch and adding the test! I've run the whole
test suite on Linux, and all tests pass for me (including the added
one).
Thanks, both.  The updated log message explains _why_ this change is a
good thing very well.

I'd avoid "echo -e" which is not portable, though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help