summaryrefslogtreecommitdiff
path: root/Documentation/git-show-branch.txt
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <drafnel@gmail.com>2013-02-12 02:17:33 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-12 11:14:33 -0800
commit2cdccad1600171e3c53e2e9c22e1675389a9d61a (patch)
tree84d847e9571f2ebb478d7e3d3688fb0aadd8001f /Documentation/git-show-branch.txt
parentsequencer.c: recognize "(cherry picked from ..." as part of s-o-b footer (diff)
downloadtgif-2cdccad1600171e3c53e2e9c22e1675389a9d61a.tar.xz
sequencer.c: require a conforming footer to be preceded by a blank line
Currently, append_signoff() performs a search for the last line of the commit buffer by searching back from the end until it hits a newline. If it reaches the beginning of the buffer without finding a newline, that means either the commit message was empty, or there was only one line in it. In this case, append_signoff will skip the call to has_conforming_footer since it already knows that it is necessary to append a newline before appending the sob. Let's perform this function inside of has_conforming_footer where it appropriately belongs and generalize it so that we require that the footer paragraph be an actual distinct paragraph separated by a blank line. Signed-off-by: Brandon Casey <drafnel@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-show-branch.txt')
0 files changed, 0 insertions, 0 deletions