diff options
| author | Jeff King <peff@peff.net> | 2014-05-21 14:07:51 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-05-21 14:27:48 -0700 |
| commit | c6076e2b4aaebd4a49b01255fe8c67405704aa72 (patch) | |
| tree | f50fda65508a8183988f26dcdbe6f5d4e51de7c7 /git-gui/lib/diff.tcl | |
| parent | Git 2.0-rc4 (diff) | |
| download | git-c6076e2b4aaebd4a49b01255fe8c67405704aa72.tar.gz git-c6076e2b4aaebd4a49b01255fe8c67405704aa72.zip | |
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 <peff@peff.net>
Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions
