diff options
author | Brandon Casey <drafnel@gmail.com> | 2013-02-12 02:33:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-12 11:19:34 -0800 |
commit | 33f2f9ab4e5c343b21a9e602456e7facabd609a0 (patch) | |
tree | 015a402d2713f963552bb2fd284a0c6bacfae62c /t/t6008-rev-list-submodule.sh | |
parent | sequencer.c: teach append_signoff how to detect duplicate s-o-b (diff) | |
download | tgif-33f2f9ab4e5c343b21a9e602456e7facabd609a0.tar.xz |
sequencer.c: teach append_signoff to avoid adding a duplicate newline
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 <bcasey@nvidia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6008-rev-list-submodule.sh')
0 files changed, 0 insertions, 0 deletions