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

v1.4.2 #6234

Merged
merged 4 commits into from
Feb 26, 2022
Merged

v1.4.2 #6234

merged 4 commits into from
Feb 26, 2022

Conversation

ethomson
Copy link
Member

carlosmn and others added 4 commits February 26, 2022 12:59
We use `git_error_set_after_callback_function` to determine whether
`update_tips` returned an error but do not store its return value making us
think it always returns 0.

Fix it by adding the common patter of storing it inside the `if` when calling it.
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.
@ethomson ethomson merged commit 970c3c7 into maint/v1.4 Feb 26, 2022
@ethomson ethomson deleted the ethomson/v1.4.2 branch June 16, 2022 17:57
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