diff options
author | Michael Hendricks <michael@ndrix.org> | 2009-03-26 10:51:05 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-27 23:49:50 -0700 |
commit | d7d9c2d04962b5aec34ec891d82dd74262306c56 (patch) | |
tree | 7f4d13ed42f8c36444a0d4845fce3cabb751503c /Documentation/git-format-patch.txt | |
parent | eed1fcd76d8893ab687c700e1729faea025ba7a8 (diff) | |
download | git-d7d9c2d04962b5aec34ec891d82dd74262306c56.tar.gz |
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>
Diffstat (limited to 'Documentation/git-format-patch.txt')
-rw-r--r-- | Documentation/git-format-patch.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index c2eb5fab4c..51fd716902 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -161,6 +161,11 @@ if that is not set. Add a "Cc:" header to the email headers. This is in addition to any configured headers, and may be used multiple times. +--add-header=<header>:: + Add an arbitrary header to the email headers. This is in addition + to any configured headers, and may be used multiple times. + For example, --add-header="Organization: git-foo" + --cover-letter:: In addition to the patches, generate a cover letter file containing the shortlog and the overall diffstat. You can |