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] 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] }