Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@YuKitsune
Copy link
Contributor

Fixes #1912

Couldn't really find a good spot to add tests here, open to suggestions.

ghost pushed a commit to mendix/libgit2sharp that referenced this pull request Sep 28, 2021
ghost pushed a commit to mendix/libgit2sharp that referenced this pull request Sep 28, 2021
* Update to libgit2 v1.3.0 and bump version

* Fix git_remote_connect not throwing on non-zero result

See libgit2/libgit2sharp#1913

Co-authored-by: Eoin Motherway <eoin.motherway@octopus.com>
@bording
Copy link
Member

bording commented Apr 2, 2022

Looking at this code, I'm now wondering why it only tries to dispose customHeaders when an exception has occurred. It seems to me that it either should always be disposing, or it never actually needs to dispose.

Regardless, this PR is an improvement, so thanks for the contribution!

@bording bording merged commit 1af4954 into libgit2:master Apr 2, 2022
@bording
Copy link
Member

bording commented Apr 2, 2022

LibGit2Sharp 0.27.0-preview-0182 includes this change.

ghost pushed a commit to mendix/libgit2sharp that referenced this pull request Jul 18, 2022
* Update to libgit2 v1.3.0 and bump version

* Fix git_remote_connect not throwing on non-zero result

See libgit2/libgit2sharp#1913

Co-authored-by: Eoin Motherway <eoin.motherway@octopus.com>
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.

Proxy.git_remote_connect() hides exceptions

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.