Skip to content

Commit 5c19f24

Browse files
aeruderJunio C Hamano
authored andcommitted
Update git-am documentation
Documentation/git-am.txt missing several short versions of options. Added documentation for --resolvemsg=<msg> command-line option. Signed-off-by: Andrew Ruder <andy@aeruder.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 25d9f3f commit 5c19f24

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

Documentation/git-am.txt

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ OPTIONS
2626
The list of mailbox files to read patches from. If you do not
2727
supply this argument, reads from the standard input.
2828

29-
--signoff::
29+
-s, --signoff::
3030
Add `Signed-off-by:` line to the commit message, using
3131
the committer identity of yourself.
3232

33-
--dotest=<dir>::
33+
-d=<dir>, --dotest=<dir>::
3434
Instead of `.dotest` directory, use <dir> as a working
3535
area to store extracted patches.
3636

37-
--keep::
37+
-k, --keep::
3838
Pass `-k` flag to `git-mailinfo` (see gitlink:git-mailinfo[1]).
3939

40-
--utf8::
40+
-u, --utf8::
4141
Pass `-u` flag to `git-mailinfo` (see gitlink:git-mailinfo[1]).
4242
The proposed commit log message taken from the e-mail
4343
are re-coded into UTF-8 encoding (configuration variable
@@ -48,14 +48,14 @@ This was optional in prior versions of git, but now it is the
4848
default. You could use `--no-utf8` to override this.
4949

5050
--no-utf8::
51-
Do not pass `-u` flag to `git-mailinfo` (see
51+
Pass `-n` flag to `git-mailinfo` (see
5252
gitlink:git-mailinfo[1]).
5353

54-
--binary::
54+
-b, --binary::
5555
Pass `--allow-binary-replacement` flag to `git-apply`
5656
(see gitlink:git-apply[1]).
5757

58-
--3way::
58+
-3, --3way::
5959
When the patch does not apply cleanly, fall back on
6060
3-way merge, if the patch records the identity of blobs
6161
it is supposed to apply to, and we have those blobs
@@ -73,17 +73,24 @@ default. You could use `--no-utf8` to override this.
7373
These flags are passed to the `git-apply` program that applies
7474
the patch.
7575

76-
--interactive::
76+
-i, --interactive::
7777
Run interactively, just like git-applymbox.
7878

79-
--resolved::
79+
-r, --resolved::
8080
After a patch failure (e.g. attempting to apply
8181
conflicting patch), the user has applied it by hand and
8282
the index file stores the result of the application.
8383
Make a commit using the authorship and commit log
8484
extracted from the e-mail message and the current index
8585
file, and continue.
8686

87+
--resolvemsg=<msg>::
88+
When a patch failure occurs, <msg> will be printed
89+
to the screen before exiting. This overrides the
90+
standard message informing you to use `--resolved`
91+
or `--skip` to handle the failure. This is solely
92+
for internal use between `git-rebase` and `git-am`.
93+
8794
DISCUSSION
8895
----------
8996

0 commit comments

Comments
 (0)