Skip to content

Commit 71d1047

Browse files
committed
Adjust to some libgit2 changes
1 parent 122f030 commit 71d1047

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/repo_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,8 @@ def test_clone_with_update_tips_callback
580580

581581
repo = Rugged::Repository.clone_at(@source_path, @tmppath, {
582582
update_tips: lambda { |refname, a, b|
583+
# The library seems to be sending us no-op updates
584+
next if a == b
583585
calls += 1
584586
updated_tips[refname] = [a, b]
585587
}

0 commit comments

Comments
 (0)