format-patch: add arbitrary email headers
commitd7d9c2d04962b5aec34ec891d82dd74262306c56
authorMichael Hendricks <michael@ndrix.org>
Thu, 26 Mar 2009 16:51:05 +0000 (26 10:51 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Mar 2009 06:49:50 +0000 (27 23:49 -0700)
tree7f4d13ed42f8c36444a0d4845fce3cabb751503c
parenteed1fcd76d8893ab687c700e1729faea025ba7a8
format-patch: add arbitrary email headers

format-patch supports the format.headers configuration for adding
arbitrary email headers to the patches it outputs.  This patch adds
support for an --add-header argument which makes the same feature
available from the command line.  This is useful when the content of
custom email headers must change from branch to branch.

This patch has been sponsored by Grant Street Group

Signed-off-by: Michael Hendricks <michael@ndrix.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-format-patch.txt
builtin-log.c
t/t4014-format-patch.sh