{"thread":{"id":"45703","subject":"Feature request: Configurable branch colors in git status --short --branch","startedAt":"2017-04-15T20:01:04Z","lastAt":"2017-04-16T06:44:24Z","messageCount":2,"participants":["Stephen Kent","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"316899","messageId":"201704555989224.827bd36f789cd969c3667696308d4@localhost","threadId":"45703","inReplyTo":null,"subject":"Feature request: Configurable branch colors in git status --short --branch","fromName":"Stephen Kent","fromEmail":"smkent@smkent.net","sentAt":"2017-04-15T20:00:51Z","receivedAt":"2017-04-15T20:01:04Z","isPatch":false,"sender":{"key":"smkent@smkent.net","avatar":"https://avatars.githubusercontent.com/u/2831985?v=4"},"body":"It would be nice if the branch, remote tracking branch, and branch \ncommit comparison count colors in git status --short --branch were \nconfigurable like the other git status colors.\n\nExample command output:\n\n$ git status --short --branch\n## master...origin/master [ahead 1]\nM  README.md\nM  wrapper.c\n M ws.c\n M wt-status.c\n\nIn the above example, \"master\", \"origin/master\", and \"1\" (in \"ahead 1\") \nuse git's standard red and green colors. I have configured the staged \nand unstaged modification markers (the M's) to use brighter green and \nred, and I would like to configure the branch info to also use those \nbrighter colors. However, there is currently no option (color slot for \ngit status in git config) to change the branch colors in \ngit status --short --branch.\n\n(See the attached screenshot or http://i.imgur.com/evqgaRd.png to see \nthe colors I am talking about.)\n\nStephen\n"},{"id":"316938","messageId":"20170416064416.mzspd5ix2ynvwqnk@sigill.intra.peff.net","threadId":"45703","inReplyTo":"201704555989224.827bd36f789cd969c3667696308d4@localhost","subject":"Re: Feature request: Configurable branch colors in git status --short --branch","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2017-04-16T06:44:17Z","receivedAt":"2017-04-16T06:44:24Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sat, Apr 15, 2017 at 01:00:51PM -0700, Stephen Kent wrote:\n\n> It would be nice if the branch, remote tracking branch, and branch commit\n> comparison count colors in git status --short --branch were configurable\n> like the other git status colors.\n\nThat seems like a reasonable thing to want.\n\nI think the infrastructure is all there, and it would just need an\nupdate to builtin/commit.c:parse_status_slot() to map the color.status.*\nnames into the {LOCAL,REMOTE}_BRANCH enum values.\n\nWant to try your hand at a patch?\n\n-Peff\n"}]}