mhutchie / vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
Other
1.89k stars 243 forks source link

VSCode feature `scm.workingSets.default` closes Git Graph when changing branches. #823

Open ogrotten opened 1 month ago

ogrotten commented 1 month ago

Describe the Bug This feature

Causes the Git Graph tab to close between branch changes.

Steps to Reproduce Steps to reproduce the behaviour:

  1. Update VSCode to April 2024

  2. In vscode Settings, past this into search bar scm.workingSets

  3. Check Enabled

  4. Set Default to current
    image

  5. Open Git Graph

  6. Change a branch using Git Graph

Notice that the Git Graph tab gets closed.

Expected Behaviour Git Graph tab (optionally) stays open.

Environment

I get why it closes... VSCode doesn't really see it as a tab or window, and I'm not really sure that I want it to because it really keeps Git Graph out of the way, that's one of its lovely-nesses. If it were possible to make this behaviour an option, that'd probably be the best result.