threads / patch / 46026

patchDocumentation: Fix reference to isExists for interpret-trailers

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

## tl;dr

3 messages between May 22, 2017 and May 23, 2017. Diffs are folded; open one to read it.

replies: 2people: 3as markdown or json

Andreas Heiduk· May 22, 2017, 19:45 UTC · lore

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(-)
Show changes to Documentation/git-interpret-trailers.txt +1 −1
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
Christian Couder· May 23, 2017, 06:06 UTC · re: Andreas Heiduk · lore

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

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.
Show 15 quoted lines
> 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.

← back to recent threads