Documentation/git-am: Document supported --patch-format options
[gitweb.git] / Documentation / git-am.txt
index 54d8461d61b2f2ad5dbf5ce8c9106534d1a74289..76bd359394f6df539cdaaa5d59fc694fbe00e120 100644 (file)
@@ -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.