Subject: Re: [PATCH 2/2] replay: document --update-refs and --batch options

From: "Kristoffer Haugsbakk" <[email-masked]>
Date: Mon, 08 Sep 2025 16:40:02 +0200

On Mon, Sep 8, 2025, at 06:36, Siddharth Asthana wrote:
>[snip]
> diff --git a/Documentation/git-replay.adoc
> b/Documentation/git-replay.adoc
> index 0b12bf8aa4..cc9f868c2f 100644
> --- a/Documentation/git-replay.adoc
> +++ b/Documentation/git-replay.adoc
> @@ -9,16 +9,17 @@ git-replay - EXPERIMENTAL: Replay commits on a new
> base, works with bare repos t
>  SYNOPSIS
>  --------
>  [verse]
> -(EXPERIMENTAL!) 'git replay' ([--contained] --onto <newbase> |
> --advance <branch>) <revision-range>...
> +(EXPERIMENTAL!) 'git replay' ([--contained] --onto <newbase> | --advance <branch>) [--update | --update-refs [--batch]] <revision-range>...

Another downside of making a separate commit for the documentation is
that now `t/t0450-txt-doc-vs-help.sh` will likely fail for your first
commit.  One of the tests makes sure that the synopsis and the `.adoc`
is in synch.

>  DESCRIPTION
>  -----------
>[snip]