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

2 messages from 2011-08-09 to 2011-08-09. Participants: maximilian attems, Junio C Hamano.
Thread: https://gitlist.dev/t/28054

## maximilian attems, 2011-08-09 15:21

Subject: [PATCH] git-am: Document new --exclude=<file> option
Message-ID: <1312903268-19994-1-git-send-email-max@stro.at>
URL: https://gitlist.dev/e/1312903268-19994-1-git-send-email-max%40stro.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

```

## Junio C Hamano, 2011-08-09 17:20

Subject: Re: [PATCH] git-am: Document new --exclude=<file> option
Message-ID: <7vy5z2sdrc.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vy5z2sdrc.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1312903268-19994-1-git-send-email-max@stro.at>

```
maximilian attems <max@stro.at> writes:

> 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]

Please do not say "<file>" here (and below). git-apply.txt documents this
as <path> and that is what the value of this parameter is.

```
