Commits


look up deltas in the correct pack file


stop using fmemopen(); that code path didn't work correctly


remove GOT_ERR_NO_MEM, we can just use errno in those cases


rename the library-internal headers again to a common prefix


remove mmap() stuff; checkout is fast enough for now


handle empty files in got_packfile_extract_object()


initialize some output variables on failure


don't dup_packidx() during cache lookup; fixes performance :)


remove unused argument from get_delta_chain_max_size()


extract objects smaller than DELTA_RESULT_SIZE_CACHED_MAX to memory


cache delta data in struct got_delta directly


use cached packfile in open_packed_object()


use cached packfile in resolve_ref_delta()


remove path_packfile from struct got_delta_cache; add a counter instead


move delta cache into struct got_pack


add struct got_pack; some preparation for mmap, which isn't used yet


set obj->size of packed deltified objects to object's actual size


revert the pack file handle cache again; needs more thought


stop opening pack files redundantly to read deltas


use SEEK_SET instead of SEEK_CUR after opening packfile


start caching file handles to packfiles


avoid a round-trip via tempfile when reading packed commits


rename a function for clarity


avoid a round-trip of data through a temp file when reading trees


process small deltas in memory; unfortunately it is not faster...