Re: Feature request: Configurable branch colors in git status --short --branch
- From
Jeff King <peff@peff.net>
- Date
- Apr 16, 2017, 06:44 UTC
- Message-ID
- <20170416064416.mzspd5ix2ynvwqnk@sigill.intra.peff.net>
- In-Reply-To
- <201704555989224.827bd36f789cd969c3667696308d4@localhost>
On Sat, Apr 15, 2017 at 01:00:51PM -0700, Stephen Kent wrote:
> It would be nice if the branch, remote tracking branch, and branch commit > comparison count colors in git status --short --branch were configurable > like the other git status colors.
That seems like a reasonable thing to want.
I think the infrastructure is all there, and it would just need an update to builtin/commit.c:parse_status_slot() to map the color.status.* names into the {LOCAL,REMOTE}_BRANCH enum values.
Want to try your hand at a patch?
-Peff