diff options
author | Josh Triplett <josh@joshtriplett.org> | 2016-09-07 18:12:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-15 10:07:10 -0700 |
commit | 480871e09ed2e5275b4ba16b278681e5a8c122ae (patch) | |
tree | 4eba0f0e758fd8799de183ceeaddf8f5410f208e /t/t4252/am-test-2-2 | |
parent | Git 2.10 (diff) | |
download | tgif-480871e09ed2e5275b4ba16b278681e5a8c122ae.tar.xz |
format-patch: show base info before email signature
Any text below the "-- " for the email signature gets treated as part of
the signature, and many mail clients will trim it from the quoted text
for a reply. Move it above the signature, so people can reply to it
more easily.
Similarly, when producing the patch as a MIME attachment, the
original code placed the base info after the attached part, which
would be discarded. Move the base info to the end of the part,
still inside the part boundary.
Add tests for the exact format of the email signature, and add tests
to ensure that the base info appears before the email signature when
producing a plain-text output, and that it appears before the part
boundary when producing a MIME attachment.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4252/am-test-2-2')
0 files changed, 0 insertions, 0 deletions