git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Update git-am documentation

From
Andrew Ruder <andy@aeruder.net>
Date
Apr 16, 2007, 06:20 UTC
Message-ID
<20070416062016.GA19759@localdomain>
In-Reply-To
<20070416053525.GA18821@localdomain>

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>
---
 Documentation/git-am.txt |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
index 148ce40..4af966a 100644
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
@@ -26,18 +26,18 @@ OPTIONS
 	The list of mailbox files to read patches from. If you do not
 	supply this argument, reads from the standard input.
 
---signoff::
+-s, --signoff::
 	Add `Signed-off-by:` line to the commit message, using
 	the committer identity of yourself.
 
---dotest=<dir>::
+-d=<dir>, --dotest=<dir>::
 	Instead of `.dotest` directory, use <dir> as a working
 	area to store extracted patches.
 
---keep::
+-k, --keep::
 	Pass `-k` flag to `git-mailinfo` (see gitlink:git-mailinfo[1]).
 
---utf8::
+-u, --utf8::
 	Pass `-u` flag to `git-mailinfo` (see gitlink:git-mailinfo[1]).
 	The proposed commit log message taken from the e-mail
 	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
 default.   You could use `--no-utf8` to override this.
 
 --no-utf8::
-	Do not pass `-u` flag to `git-mailinfo` (see
+	Pass `-n` flag to `git-mailinfo` (see
 	gitlink:git-mailinfo[1]).
 
---binary::
+-b, --binary::
 	Pass `--allow-binary-replacement` flag to `git-apply`
 	(see gitlink:git-apply[1]).
 
---3way::
+-3, --3way::
 	When the patch does not apply cleanly, fall back on
 	3-way merge, if the patch records the identity of blobs
 	it is supposed to apply to, and we have those blobs
@@ -73,10 +73,10 @@ default.   You could use `--no-utf8` to override this.
 	These flags are passed to the `git-apply` program that applies
 	the patch.
 
---interactive::
+-i, --interactive::
 	Run interactively, just like git-applymbox.
 
---resolved::
+-r, --resolved::
 	After a patch failure (e.g. attempting to apply
 	conflicting patch), the user has applied it by hand and
 	the index file stores the result of the application.
@@ -84,6 +84,12 @@ default.   You could use `--no-utf8` to override this.
 	extracted from the e-mail message and the current index
 	file, and continue.
 
+--resolvemsg=<msg>::
+	When a patch failure occurs, <msg> will be printed
+	to the screen before exiting.  This overrides the
+	standard message informing you to use `--resolved`
+	or `--skip` to handle the failure.
+
 DISCUSSION
 ----------
 
-- 
1.5.1.1.98.gedb4f-dirty
Previous: Andrew RuderNext: Junio C Hamano
Message 2 of 18 in “Add policy on user-interface changes”
  1. Add policy on user-interface changesAndrew Ruder, Apr 16, 2007
  2. Update git-am documentationAndrew Ruder, Apr 16, 2007
  3. Junio C HamanoApr 16, 2007
  4. Update git-am documentationAndrew Ruder, Apr 16, 2007
  5. Junio C HamanoApr 16, 2007
  6. Update git-am documentationAndrew Ruder, Apr 16, 2007
  7. Update git-applymbox documentationAndrew Ruder, Apr 16, 2007
  8. Update git-applymbox documentationAndrew Ruder, Apr 16, 2007
  9. Update git-annotate/git-blame documentationAndrew Ruder, Apr 16, 2007
  10. Alex RiesenApr 16, 2007
  11. Andrew RuderApr 16, 2007
  12. Junio C HamanoApr 16, 2007
  13. Update git-annotate/git-blame documentationAndrew Ruder, Apr 17, 2007
  14. Update git-apply documentationAndrew Ruder, Apr 16, 2007
  15. Update git-archive documentationAndrew Ruder, Apr 19, 2007
  16. Update git-cherry-pick documentationAndrew Ruder, Apr 19, 2007
  17. Fix unmatched emphasis tag in git-tutorialAndrew Ruder, Apr 19, 2007
  18. Update git-config documentationAndrew Ruder, Apr 19, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.