Skip to content
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

win32: find_system_dirs does not return GIT_ENOTFOUND #6228

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

ethomson
Copy link
Member

Allow for no Git for Windows installation. When there is no GfW found
in the path or registry, git_win32__find_system_dirs would return a
GIT_ENOTFOUND. Callers were not expecting this. Since this is no
error, we simply return 0 so that callers can move on with their
lives.

Fixed #6225

Allow for no Git for Windows installation.  When there is no GfW found
in the path or registry, `git_win32__find_system_dirs` would return a
`GIT_ENOTFOUND`.  Callers were not expecting this.  Since this is no
error, we simply return `0` so that callers can move on with their
lives.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Libgit2 cannot be initialized if git is not installed on a windows system
1 participant