Re: [PATCH 1/3] for-each-ref: introduce %C(...) for color
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- May 25, 2013, 06:29 UTC
- Message-ID
- <CAPig+cTSKPS2ui0=xathnR=Xau3YoE+omw3GRmJq5QHDDgD_7Q@mail.gmail.com>
- In-Reply-To
- <1369405177-7855-2-git-send-email-artagnon@gmail.com>
On Fri, May 24, 2013 at 10:19 AM, Ramkumar Ramachandra <artagnon@gmail.com> 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.
s/atleast/at least/
Show 8 quoted lines
> 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 <artagnon@gmail.com>