Skip to content

Commit c97b64c

Browse files
authored
Merge pull request #946 from libgit2/cmn/bump-libgit2
vendor: bump libgit2 to 2347eb3263c49723d539ba84959aca3a445de509
2 parents 56db1ab + 7b17494 commit c97b64c

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

ext/rugged/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def self.run_cmake(timeout, args)
116116
$LDFLAGS << " " + "-L#{Dir.pwd}/deps/winhttp"
117117
$LIBS << " -lwinhttp -lcrypt32 -lrpcrt4 -lole32 -lz -lssh2"
118118
else
119-
pcfile = File.join(LIBGIT2_DIR, "build", "libgit2.pc")
119+
pcfile = File.join(LIBGIT2_DIR, "build", "git2.pc")
120120
$LDFLAGS << " " + `pkg-config --libs --static #{pcfile}`.strip
121121
end
122122
end

script/travisbuild

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ while read algorithm key comment; do
3434
echo "[localhost]:2222 $algorithm $key" >>"${HOME}/.ssh/known_hosts"
3535
done <"${SSHD_DIR}/id_rsa.pub"
3636

37+
# Append the github.com keys for the tests that don't override checks. Some
38+
# older libssh2 versions don't like it unless we have ssh-rsa in here. This also
39+
# tests that the automatic selection off of known_hosts is working.
40+
ssh-keyscan -t ssh-rsa github.com >>"${HOME}/.ssh/known_hosts"
41+
3742
# Get the fingerprint for localhost and remove the colons so we can
3843
# parse it as a hex number. Older versions have a different output
3944
# format.

test/commit_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ def setup
492492
@repo.config['core.abbrev'] = 7
493493

494494
prerelease = Rugged.libgit2_prerelease
495+
prerelease = "-#{prerelease}" unless prerelease.empty?
495496
@version_string = "#{Rugged.libgit2_version.join('.')}#{prerelease unless prerelease.empty?}"
496497
end
497498

vendor/libgit2

Submodule libgit2 updated 323 files

0 commit comments

Comments
 (0)