git am/mailinfo: Don't look at in-body headers when rebasing
When we are rebasing we know that the header lines in the patch are good and that we don't need to pick up any headers from the body of the patch. This makes it possible to rebase commits whose commit message start with "From" or "Date". Test vectors by Jeff King. Signed-off-by: Lukas Sandström <luksan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
78d553b7d7
commit
d25e51596b
2
t/t5100/msg0015
Normal file
2
t/t5100/msg0015
Normal file
@ -0,0 +1,2 @@
|
||||
- a list
|
||||
- of stuff
|
Reference in New Issue
Block a user