Web lists-archives.com

Windows > git.exe > the result of "git branch" does not always highlight the current branch




It appears to be just a reporting issue. Probably not a big deal, but
I thought I should report this, if it hasn't been noticed: when a
branch is switched to by being named with non-original
character-casing, then it's not clear which branch is current.

Example:

C:\repo>git branch
* bar
  foo

C:\repo>git checkout Bar
Switched to branch 'Bar'

C:\repo>git branch
  bar
  foo