Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b23543f

Browse files
tkelmanvtjnash
authored andcommitted
Upgrade libgit2 to v0.25.0
rebase patches fixes #19793 (cherry picked from commit 99b5d34, but dropping libgit2-mbedtls patch: see PR #18658)
1 parent f1a3234 commit b23543f

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
43f28f86c884c3c469ce4080de287ee7
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6d7c5a6fd0f6678944e0ae379f5b5fa628f7a6936db6fbff4442e98db7037fd3baf2010ffc7c45ed7a30c7ebff1973a0a9047d67dbac1dedf2df444a80bdf43b

deps/libgit2.version

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LIBGIT2_BRANCH=v0.24.1
2-
LIBGIT2_SHA1=211e117a0590583a720c53172406f34186c543bd
1+
LIBGIT2_BRANCH=v0.25.0
2+
LIBGIT2_SHA1=75db289a041b1f1084768244e167b953ac7eeaa5

deps/patches/libgit2-agent-nonfatal.patch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ index cfd5736..82d2c63 100644
1616
+ if (rc != LIBSSH2_ERROR_NONE) {
1717
+ rc = LIBSSH2_ERROR_AUTHENTICATION_FAILED;
1818
goto shutdown;
19-
+ }
19+
+ }
2020

2121
rc = libssh2_agent_list_identities(agent);
22+

deps/patches/libgit2-ssh.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
+ GET_TARGET_PROPERTY(LIBSSH2_INCLUDE_DIRS Libssh2::libssh2 INTERFACE_INCLUDE_DIRECTORIES)
1010
+ GET_TARGET_PROPERTY(LIBSSH2_LOCATION Libssh2::libssh2 IMPORTED_LOCATION_RELEASE)
1111
+ GET_FILENAME_COMPONENT(LIBSSH2_LIBRARY_DIRS ${LIBSSH2_LOCATION} PATH)
12-
+ SET(LIBSSH2_LIBRARIES "-lssh2")
12+
+ SET(LIBSSH2_LIBRARIES "-lssh2")
1313
ENDIF()
1414
-IF (LIBSSH2_FOUND)
1515
+IF (Libssh2_FOUND)

0 commit comments

Comments
 (0)