Skip to content

v1.4.2 - #6234

Merged
ethomson merged 4 commits into
maint/v1.4from
ethomson/v1.4.2
Feb 26, 2022
Merged

v1.4.2#6234
ethomson merged 4 commits into
maint/v1.4from
ethomson/v1.4.2

Conversation

@ethomson

Copy link
Copy Markdown
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