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

Detecting alternative paths for git

Open ohhmm opened this issue 1 year ago • 8 comments

git.path property may offered to be updated with auto-detected values if none working git path appears there.

ohhmm avatar Jan 14 '24 13:01 ohhmm

Can you please add more detail as to the issue you are experiencing and/or the steps to reproduce it? Thank you!

eamodio avatar Jan 15 '24 06:01 eamodio

STR:

  1. Install Visual Studio
  2. Don't install git

Git is under Visual Studio installation path

But Visual Studio Code doesn't detect it

ohhmm avatar Jan 15 '24 07:01 ohhmm

This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!

github-actions[bot] avatar Jan 23 '24 05:01 github-actions[bot]

Sorry, but I'm not sure what issue you are having here. Can you please provide more details?

eamodio avatar Jan 24 '24 08:01 eamodio

STR: Don't install git Install Visual Studio (not VScode)

Expected: VScode works with git path from Visual Studio, detected

Actual: Git features disabled

ohhmm avatar Jan 26 '24 12:01 ohhmm

This seems like you're having problems with VSC's built-in git stuff rather than this extension? Either way, you'll need to manually set git.path to the executable shipped with Visual Studio, as that one isn't in any directory listed in your PATH environment variable.

RivenSkaye avatar Aug 22 '24 06:08 RivenSkaye

I would think that the path of git supplied with Visual Studio should be taken if git is absent in PATH env var. This seem more expected

ohhmm avatar Aug 22 '24 07:08 ohhmm