Documentation/git-am: Document supported --patch-format options
PATCH 1/1 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.
---
I've not bothered to actually explain what the options mean. I'm not sure if readers will care aside from just trying them until one works (that's all I did when I had a patch that failed detection).
Documentation/git-am.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
Documentation/git-am.txt +9 -3
@@ -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.
Signature · 1 line
1.7.9.5
Quoted 35 lines · Chris Packham
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 <[email protected]>---
I've not bothered to actually explain what the options mean. I'm not sure if readers will care aside from just trying them until one works (that's all I did when I had a patch that failed detection).Documentation/git-am.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)Documentation/git-am.txt +3
-3@@ -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.
Documentation/git-am.txt default. You can use `--no-utf8` to override this. · line 108
Quoted 10 lines
Documentation/git-am.txt +6
-0+--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.
Ping?
Actually now that I have the patch in a MUA I see the a simple s/intepreted/interpreted/ fixup is required.
Quoted 1 line · Chris Packham
Ping?
Hasn't it been already cooking in 'next' for a few days?
Quoted 6 lines · Junio C Hamano
Quoted 1 line · Chris Packham
Ping?
Hasn't it been already cooking in 'next' for a few days?
Indeed I think I missed a "What's cooking". Do you want me to submit a fixup for the spelling mistake?
PATCH 1/1 fixup! Documentation/git-am: Document supported --patch-format options
---
Quoted 10 lines · Junio C Hamano
Quoted 6 lines
Quoted 1 line · Chris Packham
Ping?
Hasn't it been already cooking in 'next' for a few days?
Indeed I think I missed a "What's cooking". Do you want me to submit a fixup for the spelling mistake?
May as well just send it.
Documentation/git-am.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-am.txt +1 -1
@@ -101,7 +101,7 @@ default. You can use `--no-utf8` to override this. 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. + interpreted as. Valid formats are mbox, stgit, stgit-series and hg. -i:: --interactive::
Signature · 1 line
1.7.9.5