# [PATCH] Documentation: Fix reference to isExists for interpret-trailers

3 messages from 2017-05-22 to 2017-05-23. Participants: Andreas Heiduk, Junio C Hamano, Christian Couder.
Thread: https://gitlist.dev/t/46026

## Andreas Heiduk, 2017-05-22 19:45

Subject: [PATCH] Documentation: Fix reference to isExists for interpret-trailers
Message-ID: <20170522194533.6394-1-asheiduk@gmail.com>
URL: https://gitlist.dev/e/20170522194533.6394-1-asheiduk%40gmail.com

```
The manual for "git interpret-trailers" mentioned a non-existing
literal `overwrite` for its config option `trailer.ifexists`. Fixed
by using `replace` instead.

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
---
 Documentation/git-interpret-trailers.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-interpret-trailers.txt b/Documentation/git-interpret-trailers.txt
index 09074c75a..31cdeaecd 100644
--- a/Documentation/git-interpret-trailers.txt
+++ b/Documentation/git-interpret-trailers.txt
@@ -123,7 +123,7 @@ trailer.ifexists::
 	same <token> in the message.
 +
 The valid values for this option are: `addIfDifferentNeighbor` (this
-is the default), `addIfDifferent`, `add`, `overwrite` or `doNothing`.
+is the default), `addIfDifferent`, `add`, `replace` or `doNothing`.
 +
 With `addIfDifferentNeighbor`, a new trailer will be added only if no
 trailer with the same (<token>, <value>) pair is above or below the line
-- 
2.13.0


```

## Junio C Hamano, 2017-05-23 05:47

Subject: Re: [PATCH] Documentation: Fix reference to isExists for interpret-trailers
Message-ID: <xmqqmva4ktuq.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqmva4ktuq.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <20170522194533.6394-1-asheiduk@gmail.com>

```
Thanks.  I'll fix s/is/if/ on the title (no need to resend to fix
only the subject).


```

## Christian Couder, 2017-05-23 06:06

Subject: Re: [PATCH] Documentation: Fix reference to isExists for interpret-trailers
Message-ID: <CAP8UFD1shjAxoT2Zr+fvzoaF7cgrE-U1BOycuV4zAkNDbJwKQA@mail.gmail.com>
URL: https://gitlist.dev/e/CAP8UFD1shjAxoT2Zr%2BfvzoaF7cgrE-U1BOycuV4zAkNDbJwKQA%40mail.gmail.com
In-Reply-To: <20170522194533.6394-1-asheiduk@gmail.com>

```
On Mon, May 22, 2017 at 9:45 PM, Andreas Heiduk <asheiduk@gmail.com> wrote:
> The manual for "git interpret-trailers" mentioned a non-existing
> literal `overwrite` for its config option `trailer.ifexists`. Fixed
> by using `replace` instead.

Yeah, I forgot to change it to `replace` there.

> Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
> ---
>  Documentation/git-interpret-trailers.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-interpret-trailers.txt b/Documentation/git-interpret-trailers.txt
> index 09074c75a..31cdeaecd 100644
> --- a/Documentation/git-interpret-trailers.txt
> +++ b/Documentation/git-interpret-trailers.txt
> @@ -123,7 +123,7 @@ trailer.ifexists::
>         same <token> in the message.
>  +
>  The valid values for this option are: `addIfDifferentNeighbor` (this
> -is the default), `addIfDifferent`, `add`, `overwrite` or `doNothing`.
> +is the default), `addIfDifferent`, `add`, `replace` or `doNothing`.

Yeah, this looks obviously good to me.

Thanks,
Christian.

```
