summaryrefslogtreecommitdiff
path: root/Documentation/git-am.txt
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2014-03-11 16:51:57 +1300
committerJunio C Hamano <gitster@pobox.com>2014-03-11 13:40:25 -0700
commit649813763c58421d6fdbc57b651e4d46f26f1fea (patch)
treefb4bea1c9ee8a90964b93f23cb940ea9a6f1679e /Documentation/git-am.txt
parent2f93541d88fadd1ff5307d81c2c8921ee3eea058 (diff)
downloadgit-649813763c58421d6fdbc57b651e4d46f26f1fea.tar.gz
Documentation/git-am: Document supported --patch-format options
The --patch-format option has been supported for a while but it is not mentioned in the man page and the short help cannot tell the user what the supported formats are. Add the option to the man page along with the supported options. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-am.txt')
-rw-r--r--Documentation/git-am.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
index 54d8461d61..76bd359394 100644
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
@@ -12,9 +12,9 @@ SYNOPSIS
'git am' [--signoff] [--keep] [--[no-]keep-cr] [--[no-]utf8]
[--3way] [--interactive] [--committer-date-is-author-date]
[--ignore-date] [--ignore-space-change | --ignore-whitespace]
- [--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]
- [--exclude=<path>] [--include=<path>] [--reject] [-q | --quiet]
- [--[no-]scissors]
+ [--whitespace=<option>] [-C<n>] [-p<n>] [--patch-format=<format>]
+ [--directory=<dir>] [--exclude=<path>] [--include=<path>]
+ [--reject] [-q | --quiet] [--[no-]scissors]
[(<mbox> | <Maildir>)...]
'git am' (--continue | --skip | --abort)
@@ -97,6 +97,12 @@ default. You can use `--no-utf8` to override this.
program that applies
the patch.
+--patch-format::
+ By default the command will try to detect the patch format
+ automatically. This option allows the user to bypass the automatic
+ detection and specify the patch format that the patch(es) should be
+ intepreted as. Valid formats are mbox, stgit, stgit-series and hg.
+
-i::
--interactive::
Run interactively.