]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Doc User-Manual: Patch cover letter, three dashes, and --notes
authorPhilip Oakley <philipoakley@iee.org>
Sun, 21 Oct 2012 21:34:08 +0000 (22:34 +0100)
committerJeff King <peff@peff.net>
Fri, 26 Oct 2012 14:31:38 +0000 (10:31 -0400)
Show that git format-patch can have a cover letter, include patch
commentary below the three dashes, and notes can also be
included.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Jeff King <peff@peff.net>
Documentation/user-manual.txt

index 85651b57ae466496e98e9c2507072f9fa8125c4d..1b377dc20736320fb442255c88310d62078b21e0 100644 (file)
@@ -1787,6 +1787,13 @@ $ git format-patch origin
 will produce a numbered series of files in the current directory, one
 for each patch in the current branch but not in origin/HEAD.
 
+`git format-patch` can include an initial "cover letter". You can insert
+commentary on individual patches after the three dash line which
+`format-patch` places after the commit message but before the patch
+itself.  If you use `git notes` to track your cover letter material,
+`git format-patch --notes` will include the commit's notes in a similar
+manner.
+
 You can then import these into your mail client and send them by
 hand.  However, if you have a lot to send at once, you may prefer to
 use the linkgit:git-send-email[1] script to automate the process.