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

Error when trying to browse commits #2841

Closed
arquer opened this issue Aug 2, 2023 · 6 comments
Closed

Error when trying to browse commits #2841

arquer opened this issue Aug 2, 2023 · 6 comments
Assignees
Labels
bug Something isn't working needs-verification Request for verification
Milestone

Comments

@arquer
Copy link

arquer commented Aug 2, 2023

Description

Screenshot 2023-08-02 at 11 37 46 AM

I see this issue when I try to expand the commit list all the time. I see there was a bug report in 2021 that has been closed since then #1405

GitLens Version

14.1.1

VS Code Version

Version: 1.80.2 (Universal)
Commit: 2ccd690cbff1569e4a83d7c43d45101f817401dc
Date: 2023-07-27T21:05:41.366Z (5 days ago)
Electron: 22.3.14
ElectronBuildId: 22695494
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.5.0

Git Version

git version 2.34.1

Logs, Screenshots, Screen Captures, etc

No response

@arquer arquer added bug Something isn't working triage Needs to be looked at labels Aug 2, 2023
@eamodio
Copy link
Member

eamodio commented Aug 2, 2023

@arquer is it always the same commit id? Is this in the Commits view? Does it happen with others? Do you have multiple repositories open or just one?

@eamodio eamodio added needs-more-info Needs further information, steps, details, etc. and removed triage Needs to be looked at labels Aug 2, 2023
@arquer
Copy link
Author

arquer commented Aug 2, 2023

  1. No, this happens whenever I try to expand the drop-down list of commits in a branch.
  2. This happens in the "Source Control" pane and I try to expand branch's main commits (see attached image).
  3. I do have multiple git repositories open in my VSCode workspace
  4. I have tried expanding other branche's commits and I seem to only get that error for main.
Screenshot 2023-08-02 at 12 02 48 PM

@pairedLeaves
Copy link

I just got into the same issue after an VSCode update!

====git version 2.36.0=====
====gitlens version 14.2.0==

Luckily I happened to see a workaround:
Downgraded the gitlens back to v14.1.1 and then this trouble seems disappearing.

Inside my repo:
'git remote' lists multiple remote sites.
'git remote -v' lists remote sites wherein two of them are configured with the same URL.

And I just tried an experiment:
Re-upgrade the gitlens to v14.2.0 and run 'git remote remove XXX' to delete one duplicate site, this 'already registered' error disappeared and gitlens works normally.

@eamodio eamodio self-assigned this Aug 8, 2023
@eamodio eamodio removed the needs-more-info Needs further information, steps, details, etc. label Aug 8, 2023
@eamodio eamodio closed this as completed in 078f5f4 Aug 8, 2023
@eamodio eamodio added pending-release Resolved but not yet released to the stable edition needs-verification Request for verification labels Aug 8, 2023
@eamodio
Copy link
Member

eamodio commented Aug 8, 2023

Thank you for the extra details and I think this should be fixed.

Can you please verify this fix in tomorrow's (v2023.8.08xx) pre-release edition of GitLens? Thank you so much!

You can switch to the pre-release edition of GitLens, by clicking on the "Switch to Pre-Release version of this extension" from the Extensions view.

image

@eamodio eamodio modified the milestones: 14.3, 14.2-patch Aug 8, 2023
@eamodio eamodio removed the pending-release Resolved but not yet released to the stable edition label Aug 10, 2023
@arquer
Copy link
Author

arquer commented Aug 18, 2023

I am running v2023.8.1505 and just saw this again...

image

I am trying to reproduce it but can't seem to be able to... so I can't give much info, still I thought I would let you know

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs-verification Request for verification
Projects
None yet
Development

No branches or pull requests

3 participants