From: David Aguilar Date: Fri, 24 May 2013 23:41:29 GMT Subject: Re: [PATCH 1/3] for-each-ref: introduce %C(...) for color Message-ID: In-Reply-To: <1369405177-7855-2-git-send-email-artagnon@gmail.com> On Fri, May 24, 2013 at 7:19 AM, Ramkumar Ramachandra wrote: > Since 'git branch' misses important options like --sort, --count, and > --format that are present in 'git for-each-ref'. Until we are in a > position to fix 'git branch', let us enhance the 'git for-each-ref' > format so it can atleast colorize output. > > You can use the following format in for-each-ref: > > %C(green)%(refname:short)%C(reset) > > To display refs in green. Future patches will attempt to extend the > format even more to get useful output. > > Signed-off-by: Ramkumar Ramachandra > --- > builtin/for-each-ref.c | 26 ++++++++++++++++++++++---- > 1 file changed, 22 insertions(+), 4 deletions(-) Can you please also update Documentation/? -- David