vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

gitlens not working if repo opened from a symlinked folder

Open fragolinux opened this issue 3 years ago • 0 comments

hi, I'm on latest versions of both vscode and gitlens, and just noted that the extension integration does not work if i open a repo by a symlink to a folder...

I've a folder structure as such:

  • git
    • github
      • project1
      • project2
    • bitbucket
      • project1
    • gitlab
      • project3
    • related
      • IAC
        • symlink to folder github/project1
        • symlink to folder bitbucket/project1
      • PROD
        • symlink to folder github/project1
        • symlink to folder bitbucket/project1
        • symlink to folder gitlab/project3

this way i can add a single folder to my workspace, the "related" one, and organize my repos by meaning/interconnections/whatever (imagine those subfolders of "related" as tags, if you want)

well, if I open those repos from original folder, I can see gitlens faded comments on the right of every line of code, but if I open the SAME file from the symlinked folder, no comments are visible at all... it's the SAME file, just from a different "access point"...

fragolinux avatar Jun 30 '22 08:06 fragolinux