Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight feature in gitk broken since version 2.36.0 #3815

Closed
1 task done
voodoo66 opened this issue Apr 21, 2022 · 6 comments
Closed
1 task done

Highlight feature in gitk broken since version 2.36.0 #3815

voodoo66 opened this issue Apr 21, 2022 · 6 comments

Comments

@voodoo66
Copy link

voodoo66 commented Apr 21, 2022

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.36.0.windows.1
cpu: x86_64
built from commit: ea1e13f73339d57cbe81a0bae6fba669aaccf656
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.19044.1645]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

file does not exists, using portable package.

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

bash

Highlighting a single file in gitk.

  • What did you expect to occur after running these commands?

With git version 2.35.3, only commits, which contains changes for the highlighted file, will get a bold font.

  • What actually happened instead?

Since git version 2.36.0 every commit gets a bold font. Which makes the highlighting feature unusable.

@rimrul
Copy link
Member

rimrul commented Apr 22, 2022

Since git version 2.36.0 every commit gets a bold font. Which makes the highlighting feature unusable.

I can kinda reproduce this. It isn't always all commits. In fact, in my tests the first commit that only added a .gitignore file was never highlighted. Which commits get highlighted doesn't seem to be quite deterministic though.

@rimrul rimrul changed the title Highlight feature in gtik broken since version 2.36.0 Highlight feature in gitk broken since version 2.36.0 Apr 22, 2022
@dscho
Copy link
Member

dscho commented Apr 22, 2022

Next question: is this a Windows-only bug?

@rimrul
Copy link
Member

rimrul commented Apr 22, 2022

It's an upstream regression. I can reproduce it on git 2.36.0 on Linux. I'll try to bisect it later.

@rimrul
Copy link
Member

rimrul commented Apr 22, 2022

The bisection results are in: git bisect says that

244c272 is the first bad commit

@rimrul
Copy link
Member

rimrul commented Apr 23, 2022

@dscho
Copy link
Member

dscho commented Apr 26, 2022

I've sent the information to the mailing list: https://lore.kernel.org/git/AM0PR04MB6019ECF053F1FB7B29D75AB7A5F69@AM0PR04MB6019.eurprd04.prod.outlook.com/T/#u

Let's continue the discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants