From: Jeff King Date: Wed, 21 May 2014 21:07:51 +0000 (-0700) Subject: format-patch: make newline after signature conditional X-Git-Tag: v2.1.0-rc0~111^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c6076e2b4aaebd4a49b01255fe8c67405704aa72?hp=c6076e2b4aaebd4a49b01255fe8c67405704aa72 format-patch: make newline after signature conditional When we print an email signature, we print the divider "-- \n", then the signature string, then two newlines. Usually the signature is a one-liner (and the default is just the git version), so the extra newline makes sense. But one could easily specify a multi-line signature, like this: git format-patch --signature='this is my long signature it has multiple lines ' ... and it may end with its own newline, in which case we do not have to add yet another one. Signed-off-by: Jeff King Signed-off-by: Jeremiah Mahler Signed-off-by: Junio C Hamano ---