-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix addGitBashToEnv and addGitToEnv on Windows
Functional changes: - Include the mingw directory in the PATH (this directory contains many of the actual git functions, such as `git-pull`, `git-push`, and `git-upload-pack`). - Search `env.ProgramW6432` for Git before `env.ProgramFiles`, as `ProgramFiles` is not guaranteed to always point to the x64 Program Files directory. Technically, we should get the mingw path from `git --exec-path` (and this is what the GitHub package does), but that would mean making `git.addGitToEnv(env)` async, which would have been a much larger PR. From atom/apm#839 Co-Authored-By: Winston Liu <2766036+50Wliu@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
29 additions
and
6 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