Subject: [PATCH 2/3] doc: replay: document --contained

From: [email-masked]
Date: Sun, 7 Dec 2025 18:55:10 +0100

From: Kristoffer Haugsbakk <[email-masked]>

Copy the text from `replay_options` in `builtin/replay.c`.

Signed-off-by: Kristoffer Haugsbakk <[email-masked]>
---
 Documentation/git-replay.adoc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/git-replay.adoc b/Documentation/git-replay.adoc
index 6fbb527b9d8..1b8661185bb 100644
--- a/Documentation/git-replay.adoc
+++ b/Documentation/git-replay.adoc
@@ -42,6 +42,9 @@ The history is replayed on top of the <branch> and <branch> is updated to
 point at the tip of the resulting history. This is different from `--onto`,
 which uses the target only as a starting point without updating it.
 
+--contained::
+	Advance all branches contained in <revision-range>.
+
 --ref-action[=<mode>]::
 	Control how references are updated. The mode can be:
 +
-- 
2.52.0.10.g08704017180