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

Error getting repo path when using git.exe

Open xh-lin opened this issue 1 year ago • 0 comments

Description

My repos are on the Windows file system, but WSL2 git is running slow on the path under /mnt/c, so I changed VSCode to use git from Windows git.exe settings.json: "git.path": "/mnt/c/.../git.exe" but then GitLens stopped working.

GitLens Version

14.6.1

VS Code Version

Version: 1.85.1

Git Version

git version 2.43.0.windows.1

Logs, Screenshots, Screen Captures, etc

On the GitLens plugin page, RUNTIME STATUS tab, I have Uncaught Errors: Base path 'c:/.../myrepo' must be an absolute path' On VSCode Git output window: [warning] Failed to get repository realpath for: "c:/.../myrepo". ENOENT: no such file or directory, realpath 'c:/.../myrepo'

xh-lin avatar Dec 19 '23 20:12 xh-lin