Re: [PATCH 15/15] for-each-ref: use get_pretty_userformat in --pretty
On Tue, Jun 4, 2013 at 8:35 AM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
> Use get_pretty_userformat() to interpret the --pretty string. This
> means that leading you can now reference a format specified in a pretty.*
Show 11 quoted lines
> configuration variable as an argument to 'git for-each-ref --pretty='.
> There are two caveats:
>
> 1. A leading "format:" or "tformat:" is automatically stripped and
> ignored. Separator semantics are not configurable (yet).
>
> 2. No built-in formats are available. The ones specified in
> pretty-formats (oneline, short etc) don't make sense when displaying
> refs anyway.
>
> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>