From: Brandon Casey Date: Tue, 12 Feb 2013 10:17:32 +0000 (-0800) Subject: sequencer.c: recognize "(cherry picked from ..." as part of s-o-b footer X-Git-Tag: v1.8.3-rc0~149^2~8 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cd650a4eee148dadb0943f415e88c210f18e70df?hp=cd650a4eee148dadb0943f415e88c210f18e70df sequencer.c: recognize "(cherry picked from ..." as part of s-o-b footer When 'cherry-pick -s' is used to append a signed-off-by line to a cherry picked commit, it does not currently detect the "(cherry picked from..." that may have been appended by a previous 'cherry-pick -x' as part of the s-o-b footer and it will insert a blank line before appending a new s-o-b. Let's detect "(cherry picked from...)" as part of the footer so that we will produce this: Signed-off-by: A U Thor (cherry picked from da39a3ee5e6b4b0d3255bfef95601890afd80709) Signed-off-by: C O Mmitter instead of this: Signed-off-by: A U Thor (cherry picked from da39a3ee5e6b4b0d3255bfef95601890afd80709) Signed-off-by: C O Mmitter [with improvements from Jonathan Nieder] Signed-off-by: Brandon Casey Acked-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---