v8 of patch to add format-patch --signature-file <file> option.
This revision includes more suggestions from Jeff King and Junio C Hamano.
- Renamed variable which stores the signature to 'mail-signature'
which better describes what is being stored.
- Fixed a declaration after code (forbidden by ISO C90).
- Simplified sed usage in test cases from a pipeline with
three stages to just one.
- Enclosed the creation of test data ('cat >mail-signature') inside
a test_expect_* case.
- Test cases now add one blank line to the actual signature to match
the signature output of Git. Previously, the last of the output
was deleted.
Thanks again for all the suggestions.
Jeff King (1):
format-patch: make newline after signature conditional
Jeremiah Mahler (1):
format-patch --signature-file <file>
Documentation/config.txt | 4 ++++
Documentation/git-format-patch.txt | 4 ++++
builtin/log.c | 25 +++++++++++++++++++++--
t/t4014-format-patch.sh | 41 ++++++++++++++++++++++++++++++++++++++
4 files changed, 72 insertions(+), 2 deletions(-)
--
Jeremiah Mahler
[email protected]
http://github.com/jmahler
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html