I have updated libgit2 to 1.8.2~rc1 in order to avoid patching all reverse dependencies for the const correctness change that is going to be reverted anyway.

Find attached an updated patch.


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
Description: Skip test TreeToTreeDiffTest#test_each_line_patch_header
 This test fails with libgit2 1.8.x
Author: Timo Röhling <[email protected]>
Last-Update: 2024-09-15

---
 test/diff_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/diff_test.rb b/test/diff_test.rb
index fe9aa27..6c6c472 100644
--- a/test/diff_test.rb
+++ b/test/diff_test.rb
@@ -910,7 +910,7 @@ EOS
     assert_equal(2, lines[4].new_lineno)
   end
 
-  def test_each_line_patch_header
+  def DISABLED_test_each_line_patch_header
     repo = FixtureRepo.from_libgit2("diff")
 
     a = repo.lookup("d70d245ed97ed2aa596dd1af6536e4bfdb047b69")

Attachment: signature.asc
Description: PGP signature

Reply via email to