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

git-2.13.2: color.branch.local problem

From
LRLeo Razoumov <slonik.az@gmail.com>
Date
Jul 8, 2017, 19:13 UTC
Message-ID
<CADsUFkTuRK7wgtvZ16Dw-5y2CFXZByTBzNky6cQb0RzT58C5WQ@mail.gmail.com>
Hi Everyone,

When I updated from git-2.10.2 to git-2.13.2 my 'color.branch.local' config setting gets ignored. Corresponding 'remote' or 'current' settings are honored and work as expected

Relevant parts of my config file is:
  [color "branch"]
    current=  reverse
    local  = red bold
    remote = green bold
I am on macosx-10.11.6 El Capitan. Git installation courtesy of homebrew.

Using command $ git branch -a --color=always I see current branch in reverse, remote branches in green, but local branches in default color (black)

Any help is greatly appreciated.

Thanks, --Leo

Next: Jeff King
Message 1 of 6 in “git-2.13.2: color.branch.local problem”
  1. Leo RazoumovJul 8, 2017
  2. Jeff KingJul 9, 2017
  3. Jeff KingJul 9, 2017
  4. 1/3 branch: only perform HEAD check for local branchesJeff King, Jul 9, 2017
  5. 2/3 branch: use BRANCH_COLOR_LOCAL in ref-filter formatJeff King, Jul 9, 2017
  6. 3/3 branch: set remote color in ref-filter branch immediatelyJeff King, Jul 9, 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.