diff options
author | David Brown <davidb@quicinc.com> | 2009-10-28 10:13:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-28 11:03:01 -0700 |
commit | c1e01b0c5106451770ae77a62f52acfe814c3326 (patch) | |
tree | b71fa2e13454566c20ce6cd6025425dd33b67e42 /templates/hooks--pre-applypatch.sample | |
parent | bash completion: difftool accepts the same options as diff (diff) | |
download | tgif-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 'templates/hooks--pre-applypatch.sample')
0 files changed, 0 insertions, 0 deletions