diff options
author | Jeremiah Mahler <jmmahler@gmail.com> | 2014-05-23 21:08:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-27 12:38:32 -0700 |
commit | 7022650f61ff7d7c9297db4a04f4e93ae14e1750 (patch) | |
tree | 3369dd500a78e0a1def31441b3b4be3b7c940085 /Documentation/config.txt | |
parent | c6076e2b4aaebd4a49b01255fe8c67405704aa72 (diff) | |
download | git-7022650f61ff7d7c9297db4a04f4e93ae14e1750.tar.gz |
format-patch: add "--signature-file=<file>" optionjm/format-patch-mail-sig
Add an option to format-patch for reading a signature from a file.
$ git format-patch -1 --signature-file=$HOME/.signature
The config variable `format.signaturefile` can also be used to make
this the default.
$ git config format.signaturefile $HOME/.signature
$ git format-patch -1
Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 1932e9b9a2..140ed771ef 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1114,6 +1114,10 @@ format.signature:: Set this variable to the empty string ("") to suppress signature generation. +format.signaturefile:: + Works just like format.signature except the contents of the + file specified by this variable will be used as the signature. + format.suffix:: The default for format-patch is to output files with the suffix `.patch`. Use this variable to change that suffix (make sure to |