Re: [PATCH v9 8/9] ls-tree.c: introduce "--format" option
On Tue, Jan 11, 2022 at 3:41 AM Martin Ågren <martin.agren@gmail.com> wrote:
Show 9 quoted lines
> Above, there is a missing space just before "are". That causes the
> manpage to render a little bit funny.
>
> > + with hex code `xx`; for example `%00` interpolates to
> > + `\0` (NUL), `%09` to `\t` (TAB) and `%0a` to `\n` (LF).
> > + When specified, `--format` cannot be combined with other
> > + format-altering options, including `--long`, `--name-only`
> > + and `--object-only`.
> > +
Thanks for reviewing. will be fixed in the next patch.
Show 11 quoted lines
> > +Customized format:
> > +
> > +It's support to print customized format by `%(fieldname)` with `--format` option.
>
> I had to re-read this to understand. How about the following?
>
> It is possible to print in a custom format by using the `--format`
> option, which is able to interpolate different fields using a
> `%(fieldname)` notation.
>
> Just a suggestion. Feel free to tweak or ignore. :-)
Yours reads more smoothly than mine, it will be applied in next patch.
Thanks.