summaryrefslogtreecommitdiff
path: root/builtin-check-ref-format.c
diff options
context:
space:
mode:
authorLibravatar David Brown <davidb@quicinc.com>2009-10-28 10:13:44 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-10-28 11:03:01 -0700
commitc1e01b0c5106451770ae77a62f52acfe814c3326 (patch)
treeb71fa2e13454566c20ce6cd6025425dd33b67e42 /builtin-check-ref-format.c
parentbash completion: difftool accepts the same options as diff (diff)
downloadtgif-c1e01b0c5106451770ae77a62f52acfe814c3326.tar.xz
commit: More generous accepting of RFC-2822 footer lines.
'git commit -s' will insert a blank line before the Signed-off-by line at the end of the message, unless this last line is a Signed-off-by line itself. Common use has other trailing lines at the ends of commit text, in the style of RFC2822 headers. Be more generous in considering lines to be part of this footer. If the last paragraph of the commit message reasonably resembles RFC-2822 formatted lines, don't insert that blank line. The new Signed-off-by line is still only suppressed when the author's existing Signed-off-by is the last line of the message. Signed-off-by: David Brown <davidb@quicinc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-check-ref-format.c')
0 files changed, 0 insertions, 0 deletions