summaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-05-28 00:26:35 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-05-28 08:54:07 -0400
commit9182f651df9d6d61f138dab7a5d29871b47be6ba (patch)
treed1b5bcd026b670629f14ce5e1388a95f13fe62c6 /tests/__init__.py
parentee5e56d06c786d7906c214fc1f8cbbeeb3e658a6 (diff)
downloadb4-9182f651df9d6d61f138dab7a5d29871b47be6ba.tar.gz
Limit 'From mboxrd@z' replacement to start of message
save_git_am_mbox() replaces 'From mboxrd@z ' with 'From git@z ' to make it clear that the output format is not mboxrd. However, all occurrences in the message are replaced, corrupting patches that contain 'From mboxrd@z '. Restrict the replacement to the first line of the message. Signed-off-by: Kyle Meyer <kyle@kyleam.com> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Link: https://lore.kernel.org/r/20210528042635.24959-1-kyle@kyleam.com
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions