path: root/builtin/receive-pack.c
diff options
authorJosh Triplett <>2016-09-08 01:12:01 (GMT)
committerJunio C Hamano <>2016-09-15 17:07:10 (GMT)
commit480871e09ed2e5275b4ba16b278681e5a8c122ae (patch)
tree4eba0f0e758fd8799de183ceeaddf8f5410f208e /builtin/receive-pack.c
parent6ebdac1bab966b720d776aa43ca188fe378b1f4b (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'builtin/receive-pack.c')
0 files changed, 0 insertions, 0 deletions