]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
replay: improve --contained and add to doc
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Sat, 13 Dec 2025 13:46:57 +0000 (14:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Dec 2025 06:56:02 +0000 (15:56 +0900)
commit03d7c9c457ba68f28269dcd607b9026ea6c6c9c8
tree945e7690c54274a1867fe8cd3abf1db463f59624
parent8467c95419acaa826a6c1ca0db0f36a3fd614ae4
replay: improve --contained and add to doc

There is no documentation for `--contained`.

Start by copying the text from `replay_options` in `builtin/
replay.c`. But some people think that the existing text is a
bit unclear; what does it mean for a branch to be contained
in a revision range? Let’s include the implied commits here:
the branches that point at commits in the range.

Also use “update” instead of “advance”. “Update” is the verb
commonly used in this context.

Helped-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-replay.adoc
builtin/replay.c