-
Notifications
You must be signed in to change notification settings - Fork 29
Hints for debugging
Jakob Reschke edited this page Apr 29, 2017
·
1 revision
Put the content of the stream into a file, if does not come from a file already. The file name must end in .pack
. Run
git index-pack thefile.pack
git verify-pack -v thefile.pack > thefile.pack-content.txt
to a) verify that the pack is actually sound and b) get a listing of the objects with their types and offsets.
The output format is documented in the manpage for git-verify-pack.
Compare that with the actual offsets sent to the GitPackFile object with #objectAtOffset:
.