Re: [PATCH 1/3] for-each-ref: introduce %C(...) for color
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Nov 1, 2013, 08:37 UTC
- Message-ID
- <CALkWK0nEMpVUkzafjDkVV-uaLTYzHYUTsZkmwRPkLFa=8NEkPA@mail.gmail.com>
- In-Reply-To
- <xmqq38nh411p.fsf@gitster.dls.corp.google.com>
Junio C Hamano wrote:
Show 10 quoted lines
> Ramkumar Ramachandra <artagnon@gmail.com> writes: > >> Enhance 'git for-each-ref' with color formatting options. You can now >> use the following format in for-each-ref: >> >> %C(green)%(refname:short)%C(reset) > > So far, every magic for-each-ref takes were of form %(...); was > there a reason why this had to be %C(...), not %(color=blah), or > something more in-line with the existing other magic?
It is in-line with the color specification in pretty-formats. Would you strongly prefer something else?