Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
installer: handle
BashOnly
Git for Windows gracefully
It was reported in #5031 that Git LFS' installer aborts because it does not find the `git` executable when Git for Windows was installed with the "Bash Only" PATH option, i.e. in the mode where `PATH` is not modified at all. Detect this situation, and fall back to implicitly extend the `PATH` to find Git for Windows' `git.exe`. Co-authored-by: Chris Darroch <chrisd@apache.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information
1 parent
2393dcc
commit 865d6ee
Showing
1 changed file
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters