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

[PATCH] git-am: Document new --exclude=<file> option

From
maximilian attems <max@stro.at>
Date
Aug 9, 2011, 15:21 UTC
Message-ID
<1312903268-19994-1-git-send-email-max@stro.at>
--exclude is passed down to apply, document it as such.
Signed-off-by: maximilian attems <max@stro.at>
---
 Documentation/git-am.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Had to break up a line, not sure if the chose way is the preferred. Thank you.

diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
index 6b1b5af..62c8e3c 100644
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
@@ -13,7 +13,8 @@ SYNOPSIS
 	 [--3way] [--interactive] [--committer-date-is-author-date]
 	 [--ignore-date] [--ignore-space-change | --ignore-whitespace]
 	 [--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]
-	 [--reject] [-q | --quiet] [--scissors | --no-scissors]
+	 [--exclude=<file>] [--reject] [-q | --quiet]
+	 [--scissors | --no-scissors]
 	 [(<mbox> | <Maildir>)...]
 'git am' (--continue | --skip | --abort)
 
@@ -87,6 +88,7 @@ default.   You can use `--no-utf8` to override this.
 -C<n>::
 -p<n>::
 --directory=<dir>::
+--exclude=<file>::
 --reject::
 	These flags are passed to the 'git apply' (see linkgit:git-apply[1])
 	program that applies
-- 
1.7.5.4
Next: Junio C Hamano
Message 1 of 2 in “git-am: Document new --exclude=<file> option”
  1. git-am: Document new --exclude=<file> optionmaximilian attems, Aug 9, 2011
  2. Junio C HamanoAug 9, 2011

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.