Incorrect info displayed in title bar of Windows Explorer windows
What steps will reproduce the problem?
-
Checkout a branch that is up to date with its upstream remote.
Note the title bar of the Windows Explorer window shows extra info like "[ main ↓0 ↑0 ]". -
Edit a file.
-
Commit using the TortoiseGit "Commit" command.
Window title shows "[ main ↓0 ↑1 ]", as expected. -
Push using the TortoiseGit "Push" command.
Window title shows "[ main ↓0 ↑1 ]". This is wrong - should be "[ main ↓0 ↑0 ]". -
In a command window, do "git status" to verify the repo is synced with the upstream repo. Result:
On branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean
-
Refresh the Explorer window. The info is still incorrect.
-
Close & re-open the Explorer window. The info is still incorrect.
-
Checkout the same branch using the TortoiseGit "Switch/Checkout" command.
Window title now shows the correct info, "[ main ↓0 ↑0 ]".
What is the expected output? What do you see instead?
When the local repo is in sync with its upstream remote, the window title should show no outgoing commits, i.e. "[ main ↓0 ↑0 ]". Instead it often shows "[ main ↓0 ↑1 ]".
What version of TortoiseGit and Git are you using? On what operating system?
TortoiseGit 2.14.0.0 (C:\Program Files\TortoiseGit\bin)
git version 2.39.2.windows.1 (C:\Program Files\Git\bin; C:\Program Files\Git\mingw64; C:\Program Files\Git\etc\gitconfig)
Windows 10 Home 22H2
Please provide any additional information below.
I would be grateful for a fix because I would find this feature useful if it displayed the correct info.