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

Git gutters (still) do not work correctly if .git is a symlink #211355

Open
YaroST12 opened this issue Apr 25, 2024 · 1 comment
Open

Git gutters (still) do not work correctly if .git is a symlink #211355

YaroST12 opened this issue Apr 25, 2024 · 1 comment
Assignees

Comments

@YaroST12
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.88.1
  • OS Version: Linux x64 6.8.6-1.clear, Manjaro Linux

Steps to Reproduce:

  1. Create a repository with a file
  2. Make some changes to the file, commit them
  3. Checkout to a new branch
  4. Make some more changes to the file, commit them
  5. Move .git folder else where and symlink it back to the folder.
  6. Open the repo in vscode and open the test file
  7. Start switching branches

Expected behaviour: gutters should not show up after switching branches
Actual behaviour: gutters show up as if there are changes in the repo, even though there are no changes (git diff returns nothing, Source control tab - empty)

A workaround can be found here: https://stackoverflow.com/questions/75615136/vscode-vscodium-showing-git-gutters-even-though-there-are-no-actual-changes-in-t

This is a duplicate of since it's still reproduced and I can't re-open the old issue.

@gjsjohnmurray
Copy link
Contributor

This is a duplicate of since it's still reproduced and I can't re-open the old issue.

Please reference that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants