Commits


read delta data from the right offset


we must store delta's type-and-size length separately to skip it


don't read plain objects to memory during unpack


don't assume objects IDs are sorted by their values in packidx


make got_inflate_read() properly indicate if it needs to be called again


tweak the API which inflates data to a file


implement delta combiner and a small test suite for it


ensure we don't call closedir(NULL) in search_packidx()


rename delta dumping helper function and tweak its parameter list


prepare application of deltas


add a helper function for opening a pack file


treat tag objects as a plain type in got_packfile_extract_object()


treat tag objects as a plain type in open_packed_object()


add support for opening ref delta objects


resolve ref deltas as part of a delta chain


s/decode_/parse_/


model delta chains in a better way


add a helper function to reduce size of a switch statement


add support for delta chains; implement them for offset deltas


compute off_delta offset correctly


We only support plain objects as delta base for now.


Make struct got_object opaque to users of the library


Implement open() support for offset delta objects


rename helper function


Add helper function for opening packed plain objects