summaryrefslogtreecommitdiffstats
path: root/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-01-17 20:25:16 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-01-17 20:25:16 +0000
commit4f9a60570b88fc1b9076ae2f5cfecf43bce0c87c (patch)
treece11ed05ae8faa63eca579f875eb2c188491e3f9 /git-format-patch.txt
parentf9771f69968326f60eaa1b69efe27a302998c755 (diff)
downloadgit-htmldocs-4f9a60570b88fc1b9076ae2f5cfecf43bce0c87c.tar.gz
Autogenerated HTML docs for v1.5.0-rc1-g556b
Diffstat (limited to 'git-format-patch.txt')
-rw-r--r--git-format-patch.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/git-format-patch.txt b/git-format-patch.txt
index 67425dc03..23acb4752 100644
--- a/git-format-patch.txt
+++ b/git-format-patch.txt
@@ -11,7 +11,7 @@ SYNOPSIS
[verse]
'git-format-patch' [-n | -k] [-o <dir> | --stdout] [--attach] [--thread]
[-s | --signoff] [--diff-options] [--start-number <n>]
- [--in-reply-to=Message-Id]
+ [--in-reply-to=Message-Id] [--suffix=.<sfx>]
<since>[..<until>]
DESCRIPTION
@@ -78,6 +78,16 @@ OPTIONS
reply to the given Message-Id, which avoids breaking threads to
provide a new patch series.
+--suffix=.<sfx>::
+ Instead of using `.txt` as the suffix for generated
+ filenames, use specifed suffix. A common alternative is
+ `--suffix=.patch`.
++
+Note that you would need to include the leading dot `.` if you
+want a filename like `0001-description-of-my-change.patch`, and
+the first letter does not have to be a dot. Leaving it empty would
+not add any suffix.
+
CONFIGURATION
-------------
You can specify extra mail header lines to be added to each
@@ -86,6 +96,11 @@ message in the repository configuration as follows:
[format]
headers = "Organization: git-foo\n"
+You can specify default suffix used:
+
+[format]
+ suffix = .patch
+
EXAMPLES
--------