Skip to content

find git.exe harder on Windows #1419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2024
Merged

find git.exe harder on Windows #1419

merged 2 commits into from
Jun 24, 2024

Conversation

Byron
Copy link
Member

@Byron Byron commented Jun 24, 2024

Try harder to find the git executable on Windows, including known locations.
Also try really hard not to do any unnecessary IO work.

Tasks

  • utilities to find Git executable
  • use these within Gitoxide instead of relying on PATH exclusively.

@Byron Byron changed the title try harder on Windows find git.exe harder on Windows Jun 24, 2024
@Byron Byron force-pushed the git-executable branch 2 times, most recently from 364b148 to 1866a52 Compare June 24, 2024 13:27
Byron added 2 commits June 24, 2024 15:29
That way we can make it easier to rely on Git even if finding it is a bit
more involved.
That way we are more likely to find Git even on platforms that
don't have a reliable PATH.
@Byron Byron merged commit f0a4431 into main Jun 24, 2024
19 checks passed
@Byron Byron deleted the git-executable branch June 24, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants