Re: Windows > git.exe > the result of "git branch" does not always highlight the current branch
- From
Stefan Beller <sbeller@google.com>
- Date
- Apr 9, 2018, 19:32 UTC
- Message-ID
- <CAGZ79kZ6xWijnZZpcogVm_JCX3nGMzN8ebKyh1vYygNc_dqGFw@mail.gmail.com>
- In-Reply-To
- <CAFLu24=o0nQveRpMJV-6dhvft0H9PgdBahisBi4EEg=G0BwhpQ@mail.gmail.com>
Hi Hari,
thanks for reporting a bug!
On Mon, Apr 9, 2018 at 12:26 PM, Hari Lubovac <hlubovac@gmail.com> wrote:
Show 17 quoted lines
> 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
Is this Git compiled under Windows or Git-for-Windows as distributed by Johannes?
AFAICT Git-for-Windows prefers to have a bug on github https://github.com/git-for-windows/git/issues/new
Thanks, Stefan