Skip to content

Commands executed in the terminal fail to honor found Git path #2660

@anzz1

Description

@anzz1

Description

  1. On Windows, "git.exe" is not on PATH, yes this is intended.
  2. settings.json has "git.path": "C:\\sys\\git\\bin\\git.exe"
  3. GitLens still tries to execute "git" from PATH

Same as #132

However, this is no problem as there is a gitlens.advanced.path configuration option which lets you set the path to the binary ! Problem solved ?

Oh wait, no . Some rocket scientist thought it ought to be removed, as "it is no longer needed". So this problem was unsolved in the time between that issue and now.

https://newreleases.io/project/github/gitkraken/vscode-gitlens/release/v9.0.0 , bottom of page

GitLens Version

12.2.2

VS Code Version

Version: 1.70.2 (user setup)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:35:13.448Z
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 6.1.7601

Git Version

No response

Logs, Screenshots, Screen Captures, etc

Tries to use git at PATH:
image

Path setting was removed:
image

image

image

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions