summaryrefslogtreecommitdiffstats
path: root/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-06-06 10:48:25 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-06-06 10:48:25 +0000
commit94cad1a32556bed051e92e86aca50d02da810ad8 (patch)
tree1870c0000262a576f190c3dbb5fadf71142722d0 /git-format-patch.txt
parent58aece1b1c4807951e302e7a2f5da81b9b3db68f (diff)
downloadgit-htmldocs-94cad1a32556bed051e92e86aca50d02da810ad8.tar.gz
Autogenerated HTML docs for v1.5.2.1-126-g6abd0
Diffstat (limited to 'git-format-patch.txt')
-rw-r--r--git-format-patch.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/git-format-patch.txt b/git-format-patch.txt
index a33d157b9..363edb0fc 100644
--- a/git-format-patch.txt
+++ b/git-format-patch.txt
@@ -11,7 +11,8 @@ SYNOPSIS
[verse]
'git-format-patch' [-n | -k] [-o <dir> | --stdout] [--thread]
[--attach[=<boundary>] | --inline[=<boundary>]]
- [-s | --signoff] [<common diff options>] [--start-number <n>]
+ [-s | --signoff] [<common diff options>]
+ [--start-number <n>] [--numbered-files]
[--in-reply-to=Message-Id] [--suffix=.<sfx>]
[--ignore-if-in-upstream]
[--subject-prefix=Subject-Prefix]
@@ -30,9 +31,11 @@ gitlink:git-rev-parse[1].
The output of this command is convenient for e-mail submission or
for use with gitlink:git-am[1].
-Each output file is numbered sequentially from 1, and uses the
+By default, each output file is numbered sequentially from 1, and uses the
first line of the commit message (massaged for pathname safety) as
-the filename. The names of the output files are printed to standard
+the filename. With the --numbered-files option, the output file names
+will only be numbers, without the first line of the commit appended.
+The names of the output files are printed to standard
output, unless the --stdout option is specified.
If -o is specified, output files are created in <dir>. Otherwise
@@ -60,6 +63,11 @@ include::diff-options.txt[]
--start-number <n>::
Start numbering the patches at <n> instead of 1.
+--numbered-files::
+ Output file names will be a simple number sequence
+ without the default first line of the commit appended.
+ Mutually exclusive with the --stdout option.
+
-k|--keep-subject::
Do not strip/add '[PATCH]' from the first line of the
commit log message.