Commits


make struct got_repository opaque


public API is now independent of sha1.h and zlib.h


make struct got_reference opaque


make length of id string an implementation detail


remove got_parse_object_id(), add got_object_open_by_id_str() instead


make struct got_object_id opaque


move struct got_zstream_buf to private header zb.h


make struct got_blob_object opaque


make diff tests silent by default


repair blob diffing


add output file argument to got_diff_tree


delta bases are no longer compressed; update delta_test


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()