Commits


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


add a skeleton for a delta test (empty)


document the delta stream data format


rename delta dumping helper function and tweak its parameter list


prepare application of deltas


rename helper function open_object() to fopen_object()