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

Multi-Repository Branches no longer Available #3879

Open
tylernathanreed opened this issue Dec 17, 2024 · 1 comment
Open

Multi-Repository Branches no longer Available #3879

tylernathanreed opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working needs-more-info Needs further information, steps, details, etc.

Comments

@tylernathanreed
Copy link

Description

After the latest GitLens release, where everything moved into a unified view, I lost the ability to view the branches across multiple repositories. I often have 2-3 repositories open (as I have several auxiliary packages for my main project) that I maintain together.

Prior to this release, in the Branches view, when I had multiple repositories open, the branches were grouped by their repository. In the new combined view, I've lost the ability.

Additionally, if I opt to "go back" to the Branches view, the new Branches view doesn't categorize by repository. In fact, everything other than the first repository is completely invisible to me, which is incredibly frustrating.

GitLens Version

16.0.5

VS Code Version

Version: 1.96.0 (user setup)
Commit: 138f619c86f1199955d53b4166bef66ef252935c
Date: 2024-12-11T02:29:09.626Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22621

Git Version

git version 2.34.1

Logs, Screenshots, Screen Captures, etc

Image

Note the multiple repositories open above. The "Branches" view is only showing the branches for the first repository.

@tylernathanreed tylernathanreed added bug Something isn't working triage Needs to be looked at labels Dec 17, 2024
@eamodio
Copy link
Member

eamodio commented Dec 18, 2024

I can't reproduce the issue nor any behavior change -- multiple repositories get split into trees in each of the views.

The only case where we try to collapse things is when dealing with worktrees (since they are all the same repo). The gitlens.views.collapseWorktreesWhenPossible setting controls that collapsing -- which maybe is getting unintentionally triggered here (assuming the 2 repos you have open aren't worktrees of the same repo). Try setting that to false to see if there is any difference.

Can also you please enable debug logging by running the GitLens: Enable Debug Logging command from the Command Palette (F1 or ctrl/cmd+shift+p). This will enable logging to the GitLens & GitLens (Git) channels in the Output pane.

Once enabled, please reproduce the issue, and attach the logs from the GitLens and GitLens (Git) channels.

Thank you!

@eamodio eamodio added needs-more-info Needs further information, steps, details, etc. and removed triage Needs to be looked at labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-more-info Needs further information, steps, details, etc.
Projects
None yet
Development

No branches or pull requests

2 participants