Skip to content

Commit b275da8

Browse files
asheidukgitster
authored andcommitted
Documentation: fix reference to ifExists for interpret-trailers
The manual for "git interpret-trailers" mentioned a non-existing literal `overwrite` for its config option `trailer.ifexists`. The correct name for that choice is `replace`. Signed-off-by: Andreas Heiduk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 95d6787 commit b275da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-interpret-trailers.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ trailer.ifexists::
123123
same <token> in the message.
124124
+
125125
The valid values for this option are: `addIfDifferentNeighbor` (this
126-
is the default), `addIfDifferent`, `add`, `overwrite` or `doNothing`.
126+
is the default), `addIfDifferent`, `add`, `replace` or `doNothing`.
127127
+
128128
With `addIfDifferentNeighbor`, a new trailer will be added only if no
129129
trailer with the same (<token>, <value>) pair is above or below the line

0 commit comments

Comments
 (0)