On Wed, 17 Jan 2018 20:13:28 +0100 Rasmus Villemoes <rasmus.villemoes@xxxxxxxxx> wrote: > If you use at least git 2.0.0 [1], set commit.cleanup to "scissors". > Something like > > git config commit.cleanup scissors > > should do the trick. Instead of stripping all lines starting with #, > that will only strip stuff below a line containing > > # ------------------------ >8 ------------------------ > > and git should be smart enough to insert that in the editor it fires up > for a commit message. > > > [1] https://github.com/git/git/blob/master/Documentation/RelNotes/2.0.0.txt > > Thanks for the pointer. -- Steve -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>