From 5466e56a03460938da3d2c2aed8521451f70ce6b Mon Sep 17 00:00:00 2001 From: A-Ovchinnikov-mx <56644701+A-Ovchinnikov-mx@users.noreply.github.com> Date: Tue, 28 Sep 2021 13:37:55 +0200 Subject: [PATCH 1/2] Update to libgit2 v1.3.0 and bump version --- LibGit2Sharp/LibGit2Sharp.csproj | 2 +- version.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index c0c2538b..98f79ced 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -34,7 +34,7 @@ - + diff --git a/version.json b/version.json index 67e932a0..6f85423d 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.120.0", + "version": "1.130.0", "cloudBuild": { "buildNumber": { "enabled": true From 2d5673757d4b2ac0567040bed26250a8fcfbc84c Mon Sep 17 00:00:00 2001 From: Eoin Motherway Date: Tue, 21 Sep 2021 08:50:00 +1000 Subject: [PATCH 2/2] Fix git_remote_connect not throwing on non-zero result --- LibGit2Sharp/Core/Proxy.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/LibGit2Sharp/Core/Proxy.cs b/LibGit2Sharp/Core/Proxy.cs index b9b0db93..6630ffda 100644 --- a/LibGit2Sharp/Core/Proxy.cs +++ b/LibGit2Sharp/Core/Proxy.cs @@ -2164,6 +2164,7 @@ public static unsafe void git_remote_connect(RemoteHandle remote, GitDirection d catch (Exception) { customHeaders.Dispose(); + throw; } }