From 122f030b7b044697959fdde75a9b61b3e2af6afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 31 Jan 2024 11:31:22 +0100 Subject: [PATCH 1/2] vendor: update libgit2 to 9b2577f8e --- vendor/libgit2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/libgit2 b/vendor/libgit2 index a2bde6374..9b2577f8e 160000 --- a/vendor/libgit2 +++ b/vendor/libgit2 @@ -1 +1 @@ -Subproject commit a2bde63741977ca0f4ef7db2f609df320be67a08 +Subproject commit 9b2577f8e0ea5e412040566176636b26843ce67d From 71d10476b4d9dd481e208714c3de73826dbe5fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 31 Jan 2024 16:33:31 +0100 Subject: [PATCH 2/2] Adjust to some libgit2 changes --- test/repo_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/repo_test.rb b/test/repo_test.rb index e36320edf..a3668f7b5 100644 --- a/test/repo_test.rb +++ b/test/repo_test.rb @@ -580,6 +580,8 @@ def test_clone_with_update_tips_callback repo = Rugged::Repository.clone_at(@source_path, @tmppath, { update_tips: lambda { |refname, a, b| + # The library seems to be sending us no-op updates + next if a == b calls += 1 updated_tips[refname] = [a, b] }