git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Stephen Kent
Message 2 of 2 in “Feature request: Configurable branch colors in git status --short --branch”
  1. Stephen KentApr 15, 2017
  2. Jeff KingApr 16, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.