Commits


add support for first-parent history traversal to got-read-pack


add copyright year for files already touched in 2020


cache delta data buffers in an LRU cache


stop storing decompressed delta data in struct got_delta; fetch it on demand


fix reading pack files larger than 2GB; ok tb@; problem found by mpi@


disambiguate abbreviated object IDs based on object type


speed up matching of abbreviated commit IDs in pack files


introduce support for abbreviated object IDs


replace got_pack_get_packfile_size() with simple fstat()


happy new copyright year


got_pack_get_object_size() -> got_pack_get_max_delta_object_size()


pass smallish blobs directly via imsg buffer


fix "rpath" pledge violation in got-read-pack


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