From: Junio C Hamano Date: Fri, 01 Nov 2013 15:05:33 GMT Subject: Re: [PATCH 1/3] for-each-ref: introduce %C(...) for color Message-ID: In-Reply-To: Ramkumar Ramachandra writes: > Junio C Hamano wrote: >> Ramkumar Ramachandra 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? This patch is about for-each-ref and your series does not seem to aim to unify it in any way with pretty-formats, so I would have expected an enhancement in line with the former, not the latter.