Re: [PATCH 2/5] for-each-ref: fix documentation argument ordering
On Thu, Jul 24, 2025 at 10:14:43AM +0200, Karthik Nayak wrote:
Show 16 quoted lines
> diff --git a/Documentation/git-for-each-ref.adoc b/Documentation/git-for-each-ref.adoc
> index ae61ba642a..a170de4209 100644
> --- a/Documentation/git-for-each-ref.adoc
> +++ b/Documentation/git-for-each-ref.adoc
> @@ -10,11 +10,11 @@ SYNOPSIS
> [verse]
> 'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
> [(--sort=<key>)...] [--format=<format>]
> - [--include-root-refs] [ --stdin | <pattern>... ]
> - [--points-at=<object>]
> + [--include-root-refs] [--points-at=<object>]
> [--merged[=<object>]] [--no-merged[=<object>]]
> [--contains[=<object>]] [--no-contains[=<object>]]
> - [--exclude=<pattern> ...] [--start-after=<marker>]
> + [(--exclude=<pattern>)...] [--start-after=<marker>]
> + [ --stdin | <pattern>... ]
While at it we could also convert this to use `[synopsis]`.
Patrick