Commits


read delta data from the right offset


fix a bug where we'd skip commands in the delta stream


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


more progress on reading packed/deltified objects


remove insize arg from inflate_read()


inflate_to_mem doesn't care how much stream it has read


check HAVE_MORE flag in got_inflate_to_file()


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


tweak the API which inflates data to a file


keep reading zlib stream until end maker when expanding to mem


remove pointless loops in read_{commit,tree}_object()


Fix missing error check in parse_tree_object().


Fix output length if got_inflate_read() reads some data and then EOF.


Improve delta combiner docs and rename a macro for clarity.


implement delta combiner and a small test suite for it


Move zlib wrapper/buffering code into a separate file.


Some memory failure checks were missing.


in repository_test.c, make 'verbose' a static variable


make repository test less verbose by default


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


make the read_log() tests fail if some objects cannot be read


make tests print 'ok' if they pass


Get rid of xmalloc.{c,h}. malloc(3) & pread(3) errors will now be reported as GOT_ERR_NO_MEM. This does not improve the numbers of leaks in diffreg.c