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

Line Blame does not work with VSCode workspace on mounted drive

Open maxizi opened this issue 3 years ago • 0 comments

GitLens Version

v12.1.2

VS Code Version

Version: 1.69.1 (system setup) Commit: b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a Date: 2022-07-12T08:21:24.514Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Windows_NT x64 10.0.19042

Git Version

git version 2.32.0.windows.2

Description

  1. Mount your git repo on drive M:
  • Open a terminal in your repo directory and run subst M: .
  1. Open VSCode with open folder -> M: -> Open

Now GitLens will work as usual with your mounted repository, you can switch branches etc. However, the "GitLens: Toggle Line Blame" feature does not work. When opening your repo from the physical drive (e.g. C:\repo), everything works as expected.

In general, why mounting? This helps to keep paths in sync with all people working with the repository, as not everyone might have checked out the repository in the same location.

Logs, Screenshots, Screen Captures, etc

[2022-07-21 13:06:37.785] [ 1ef] LineAnnotationController.toggle [2022-07-21 13:06:37.785] [ 1f0] LineAnnotationController.suspend [2022-07-21 13:06:37.785] [ 1f1] GitLineTracker.unsubscribe [2022-07-21 13:06:37.785] [ 1f1] GitLineTracker.unsubscribe completed • 0 ms [2022-07-21 13:06:37.785] [ 1f0] LineAnnotationController.suspend completed • 0 ms [2022-07-21 13:06:37.785] [ 1f2] LineAnnotationController.refresh [2022-07-21 13:06:37.785] [ 1f3] LineAnnotationController.clear completed • 0 ms [2022-07-21 13:06:37.785] [ 1f2] LineAnnotationController.refresh completed • Skipped because the controller is suspended • 0 ms [2022-07-21 13:06:37.785] [ 1ef] LineAnnotationController.toggle completed • 0 ms

maxizi avatar Jul 21 '22 13:07 maxizi