From: Ramkumar Ramachandra Date: Fri, 01 Nov 2013 08:37:56 GMT Subject: Re: [PATCH 1/3] for-each-ref: introduce %C(...) for color Message-ID: In-Reply-To: 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?