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

Feature request: Configurable branch colors in git status --short --branch

From
Stephen Kent <smkent@smkent.net>
Date
Apr 15, 2017, 20:00 UTC
Message-ID
<201704555989224.827bd36f789cd969c3667696308d4@localhost>

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.

Example command output:
$ git status --short --branch
## master...origin/master [ahead 1]
M  README.md
M  wrapper.c
 M ws.c
 M wt-status.c

In the above example, "master", "origin/master", and "1" (in "ahead 1") use git's standard red and green colors. I have configured the staged and unstaged modification markers (the M's) to use brighter green and red, and I would like to configure the branch info to also use those brighter colors. However, there is currently no option (color slot for git status in git config) to change the branch colors in git status --short --branch.

(See the attached screenshot or http://i.imgur.com/evqgaRd.png to see the colors I am talking about.)

Stephen
Next: Jeff King
Message 1 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.