git commit --cleanup and templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

when I recently for the first time used commit templates, I was surprised to see that git by default strips leading empty lines that I deliberately added to the template file when opening the template in the editor. I understand that I could use a different cleanup mode, but in fact I *want* git to clean everything, but only *after* I finished editing the commit message, not already when opening the editor.

Before submitting a patch, I'd like to hear what other people think about this, or whether I'm overseeing something.

Thanks.

--
Sebastian Schuberth

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]