Re: [PATCH 1/3] for-each-ref: introduce %C(...) for color
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 7, 2013, 18:02 UTC
- Message-ID
- <xmqqvc045bvq.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CALkWK0k0wxoK-MZk-KXiUiUgxVBKQGROFJBZbRs2LjNLA9iopA@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 9 quoted lines
> Junio C Hamano wrote: >> ... users of for-each-ref format will be _more_ familiar with >> formats used by for-each-ref, and it would make a lot more sense to >> keep the syntactic resemblance between existing features to show >> magic things in for-each-ref and the new feature to show color >> (which is merely one new "magic" to the vocabulary in the context of >> for-each-ref), no? > > Okay, so what do you suggest in place of %C(...)?
If %(authordate) is "I want to see the author date here", and %(authordate:short) is "I want to see the author date here in the short form", you would expect "I want colored output in green" to be spelled as %(color:green), or something, perhaps?