threads / patch / 3615

patchDescribe how to add extra mail header lines in mail generated by git-format-patch.

Subject: [PATCH] Describe how to add extra mail header lines in mail generated by git-format-patch.

## tl;dr

One message between Mar 10, 2006 and Mar 10, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Mike McCormack· Mar 10, 2006, 04:47 UTC · lore
---
  Documentation/git-format-patch.txt |    9 +++++++++
  1 files changed, 9 insertions(+), 0 deletions(-)
38fb623a9fe06cb56f96ee1f25a64d576372f997
Show changes to Documentation/git-format-patch.txt +9 −0
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index bc85a62..7cc7faf 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -64,6 +64,15 @@ OPTIONS
 	Create attachments instead of inlining patches.
 
 
+CONFIGURATION
+-------------
+You can specify extra mail header lines to be added to each
+message in the repository configuration as follows:
+
+[format]
+        headers = "Organization: git-foo\n"
+
+
 EXAMPLES
 --------
 

← back to recent threads