Brandon Casey <draf...@gmail.com> writes: > Teach append_signoff to detect whether a blank line exists at the position > that the signed-off-by line will be added, and refrain from adding an > additional one if one already exists. Or, add an additional line if one > is needed to make sure the new footer is separated from the message body > by a blank line. > > Signed-off-by: Brandon Casey <bca...@nvidia.com> > --- > > > A slight tweak. And I promise, no more are coming.
When I do $ git commit -s it should start my editor with this in the buffer: ---------------------------------------------------------------- Signed-off-by: Junio C Hamano <gits...@pobox.com> ---------------------------------------------------------------- and the cursor blinking at the beginning of the file. Annoyingly this step breaks it by removing the leading blank line. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html