git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] format-patch --signature-file <file>
@ 2014-05-17 16:02 Jeremiah Mahler
  2014-05-17 16:02 ` Jeremiah Mahler
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremiah Mahler @ 2014-05-17 16:02 UTC (permalink / raw)
  To: Jeff King; +Cc: git, Jeremiah Mahler

v3 patch to add format-patch --signature-file <file> option.

This revision includes changes suggested by Jeff King:

  - Instead of a custom OPTION_CALLBACK, use OPT_FILENAME which
	correctly resolves file names which are not evaluated by the
	shell such as "--signature-file=<file>"

  - Use strbuf_read_file() which eliminates the arbitrary size limit
	and simplifies the code.

  - Generate an error if the file cannot be read instead of quietly
	continuing.  This is accomplished with strbuf_read_file().

  - Die if both --signature and --signature-file are used.

Jeremiah Mahler (1):
  format-patch --signature-file <file>

 Documentation/git-format-patch.txt |  4 ++++
 builtin/log.c                      | 13 +++++++++++++
 t/t4014-format-patch.sh            | 28 ++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-18 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-17 16:02 [PATCH v3] format-patch --signature-file <file> Jeremiah Mahler
2014-05-17 16:02 ` Jeremiah Mahler
2014-05-18 11:20   ` Jeff King
2014-05-18 17:49     ` Jeremiah Mahler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).