]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/fsck-stream-from-the-right-object-instance'
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 18:04:49 +0000 (10:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 18:04:49 +0000 (10:04 -0800)
"fsck" iterates over packfiles and its access to pack data caused
the list to be permuted, which caused it to loop forever; the code
to access pack data by "fsck" has been updated to avoid this.

* ps/fsck-stream-from-the-right-object-instance:
  pack-check: fix verification of large objects
  packfile: expose function to read object stream for an offset
  object-file: adapt `stream_object_signature()` to take a stream
  t/helper: improve "genrandom" test helper

1  2 
object-file.c
object-file.h
object.c
packfile.c
packfile.h
t/t5310-pack-bitmaps.sh
t/t5710-promisor-remote-capability.sh
t/t7700-repack.sh

diff --cc object-file.c
Simple merge
diff --cc object-file.h
Simple merge
diff --cc object.c
Simple merge
diff --cc packfile.c
Simple merge
diff --cc packfile.h
Simple merge
Simple merge
Simple merge
Simple merge