sequencer.c: always separate "(cherry picked from" from commit body
commitb971e04f54e73a5a2af54ad62540273bb90ee7bb
authorBrandon Casey <drafnel@gmail.com>
Tue, 12 Feb 2013 10:17:34 +0000 (12 02:17 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Feb 2013 19:15:43 +0000 (12 11:15 -0800)
tree36f7e65d0812fae4a2e30e05efbbd60b923b30e0
parent2cdccad1600171e3c53e2e9c22e1675389a9d61a
sequencer.c: always separate "(cherry picked from" from commit body

Start treating the "(cherry picked from" line added by cherry-pick -x
the same way that the s-o-b lines are treated.  Namely, separate them
from the main commit message body with an empty line.

Introduce tests to test this functionality.

Signed-off-by: Brandon Casey <bcasey@nvidia.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
t/t3511-cherry-pick-x.sh