From: Mirko Faina Date: Mon, 23 Mar 2026 14:00:30 GMT Subject: Re: [PATCH v2 4/8] docs/pretty-formats: add %(count) and %(total) Message-ID: In-Reply-To: <73663cf1-3112-4e8c-a6ab-10a30670d355@app.fastmail.com> On Mon, Mar 23, 2026 at 11:29:21AM +0100, Kristoffer Haugsbakk wrote: > On Thu, Mar 19, 2026, at 23:38, Mirko Faina wrote: > > When --commit-list-format has been introduced to format-patch, two new > > The past tense here is wrong. > > s/has been/was/ > > > placeholders have been added to the PRETTY FORMATS code without being > > s/have been/were/ Will fix. > > documented. Do so now. > > > > Signed-off-by: Mirko Faina > > --- > > Documentation/pretty-formats.adoc | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/pretty-formats.adoc > > b/Documentation/pretty-formats.adoc > > index 5405e57a60..67dc0f2a82 100644 > > --- a/Documentation/pretty-formats.adoc > > +++ b/Documentation/pretty-formats.adoc > > @@ -253,6 +253,10 @@ The placeholders are: > > linkgit:git-rev-list[1]) > > +%d+:: ref names, like the --decorate option of linkgit:git-log[1] > > +%D+:: ref names without the " (", ")" wrapping. > > ++%(count)+:: the number of a patch within a patch series. Used only in > > + `--commit-list-format` in `format-patch` > > ++%(total)+:: the number of tatal patches in a patch series. Used only > > s/the number of tatal patches/the total number of patches/ ? Will fix. Thank you for the review