Commits


start reading pack files with privsep; still WIP


make got_packfile_extract_object_to_mem() accept pack instead of repo


make got_packfile_extract_object() accept a pack instead of a repo


make got_packfile_open_object() accept a pack instead of a repo


move pack caching code from pack.c to repository.c


move packidx header initialization to a separate function


read pack files with mmap


don't verify pack index SHA1 upon regular access


access pack index files with mmap()


turns out on-disk path of pack file may not match its hash Fixes reading a repo with a pack idx and file dated June 2011, where the filename does not contain the actual packfile SHA1.


store fd instead of FILE in struct got_pack to prepare privsep


rename the library-internal headers again to a common prefix