From: Karthik Nayak Date: Sat, 29 Mar 2025 18:18:52 GMT Subject: Re: [PATCH v5 8/8] update-ref: add --batch-updates flag for stdin mode Message-ID: In-Reply-To: Junio C Hamano writes: > Jean-Noël AVILA writes: > >>> SYNOPSIS >>> -------- >>> -[verse] >>> -'git update-ref' [-m ] [--no-deref] (-d [] | >>> [--create-reflog] [] | --stdin [-z]) +[synopsis] >>> +git update-ref [-m ] [--no-deref] -d [] >>> + [-m ] [--no-deref] [--create-reflog] >>> [] + [-m ] [--no-deref] --stdin [-z] >>> [--batch-updates] >> >> In the case of expressing alternative command line invocations, you need to >> repeat the "git update-ref" command on each line. Otherwise, it means that >> this is the continuation of possible options of one command > > > Like this? > > diff --git a/Documentation/git-update-ref.adoc b/Documentation/git-update-ref.adoc > index 5be2c16776..9310ce9768 100644 > --- a/Documentation/git-update-ref.adoc > +++ b/Documentation/git-update-ref.adoc > @@ -9,8 +9,8 @@ SYNOPSIS > -------- > [synopsis] > git update-ref [-m ] [--no-deref] -d [] > - [-m ] [--no-deref] [--create-reflog] [] > - [-m ] [--no-deref] --stdin [-z] [--batch-updates] > +git update-ref [-m ] [--no-deref] [--create-reflog] [] > +git update-ref [-m ] [--no-deref] --stdin [-z] [--batch-updates] > > DESCRIPTION > ----------- I think you also caught a whitespace issue here! I'll add this locally nevertheless, but will hold on re-rolling! Thanks both