microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.95k stars 29.53k forks source link

Source Control Graph: automatic refresh not updating correctly with 3-reference Auto #234979

Open gjsjohnmurray opened 1 day ago

gjsjohnmurray commented 1 day ago

Type: Bug

I contribute to microsoft/vscode through my tracking fork gjsjohnmurray/vscode, cloned to my PC.

Here's my git remote setup:

> git remote -v
origin  https://github.com/gjsjohnmurray/vscode.git (fetch)
origin  https://github.com/gjsjohnmurray/vscode.git (push)
upstream        https://github.com/microsoft/vscode.git (fetch)
upstream        https://github.com/microsoft/vscode.git (push)

I have set a branch.main.vscode-merge-base value so that the Auto choice in the History Item Reference Picker correctly tooltips as showing all 3 branches

Image

> git config --get branch.main.vscode-merge-base
upstream/main

When I open this workspace in VS Code Insiders the graph correctly shows badges for the 3 branches.

Image

But as time passes and other contributors' commits reach upstream/main my VS Code's graph view loses its upstream/main badge but the new commits don't appear.

Image

Even if I click the refresh buttons and/or Fetch From All Remotes the newest upstream/main commits don't show up until I use Developer: Reload Window.

VS Code version: Code - Insiders 1.96.0-insider (2ed1e9b48c8f55e1b92322a992c6c12b1e86e444, 2024-12-02T05:06:23.390Z) OS version: Windows_NT x64 10.0.22631 Modes:

gjsjohnmurray commented 1 day ago

/assign @lszomoru