Skip to content

Commit

Permalink
Merge pull request #1913 from YuKitsune/yukitsune/bug/git_remote_conn…
Browse files Browse the repository at this point in the history
…ect-errors

Fix git_remote_connect not throwing on non-zero result
  • Loading branch information
bording committed Apr 2, 2022
2 parents c71d487 + b78ae80 commit 1af4954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LibGit2Sharp/Core/Proxy.cs
Expand Up @@ -2175,6 +2175,7 @@ public static unsafe void git_remote_connect(RemoteHandle remote, GitDirection d
catch (Exception)
{
customHeaders.Dispose();
throw;
}
}

Expand Down

0 comments on commit 1af4954

Please sign in to comment.