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

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 10, 2018, 06:30 UTC
Message-ID
<nycvar.QRO.7.76.6.1804100825280.55@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
In-Reply-To
<CAFLu24kTRrAq3cOH5H1=nBT94p7uFSsaYJsUC-wN1brPFHk3mQ@mail.gmail.com>
Hi Hari,
On Mon, 9 Apr 2018, Hari Lubovac wrote:
> I don't know which party compiled it. I'm pretty sure I downloaded the
> installer from https://git-scm.com/downloads, although it might have
> come shipped with Microsoft Visual Studio, which I use.
In both cases, this would be Git for Windows.
Show 6 quoted lines
> I forgot this detail earlier:
> 
> git --version
> git version 2.16.1.windows.2
> 
> I'm a little behind; maybe I should upgrade.

It is not quite *necessary* to upgrade, but you will get a couple nice new features and nice bug fixes.

But the bug you reported is still there ;-)
> I just reported the same here:
> https://github.com/git-for-windows/git/issues/1623

Thank you for opening this bug report. There are other bug reports describing related issues; they might even be covered by the same fixes.

Assuming that you are eager enough to see this fixed, I started describing how to go about building Git for Windows, where the code is located that need to be fixed, and how to go about fixing it.

Thanks, Johannes

Previous: Hari LubovacNext: Johannes Schindelin
Message 4 of 6 in “Windows > git.exe > the result of "git branch" does not always highlight the current branch”
  1. Hari LubovacApr 9, 2018
  2. Stefan BellerApr 9, 2018
  3. Hari LubovacApr 9, 2018
  4. Johannes SchindelinApr 10, 2018
  5. Johannes SchindelinApr 10, 2018
  6. Johannes SixtApr 10, 2018

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.