From: Eric Sunshine Date: Wed, 29 Jul 2015 20:10:40 GMT Subject: Re: [RFC/PATCH 02/11] ref-filter: add 'colornext' atom Message-ID: In-Reply-To: <1438066594-5620-2-git-send-email-Karthik.188@gmail.com> On Tuesday, July 28, 2015, Karthik Nayak wrote: > The 'colornext' atom allows us to color only the succeeding atom with > a particular color. This resets any previous color preferences set. It > is not compatible with `padright`. This is required for printing > formats like `git branch -vv` where the upstream is colored in blue. Can you explain here and in the commit message why %(colornext) is not compatible with %(padright:)? Is it an implementation limitation, or a syntax or semantic limitation, or what? Can the implementation be fixed to make it compatible or does it require a redesign? Also, please explain here and in the commit message why this highly specialized colorizer ('colornext'), is needed even though a more general purpose one ('color') is already available.