Skip to content

Commit 1af4954

Browse files
authored
Merge pull request #1913 from YuKitsune/yukitsune/bug/git_remote_connect-errors
Fix git_remote_connect not throwing on non-zero result
2 parents c71d487 + b78ae80 commit 1af4954

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: LibGit2Sharp/Core/Proxy.cs

+1
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,7 @@ public static unsafe void git_remote_connect(RemoteHandle remote, GitDirection d
21752175
catch (Exception)
21762176
{
21772177
customHeaders.Dispose();
2178+
throw;
21782179
}
21792180
}
21802181

0 commit comments

Comments
 (0)