Commits


We don't use a delta combiner, we use delta application. A "delta combiner" (as used in SVN) combines deltas and applies the combined delta to the base. We don't do this yet; we apply deltas one by one.


rename test functions; we apply deltas, we don't combine them


remove packfiles test; not needed and not portable between machines


prevent crash in packfile test if pack file doesn't exist


In read_to_mem() loop, don't overwrite already read blocks


rename private header filenames so they are in got_ namespace


move got_sha1.h to private lib directory


inline refs.h in refs.c


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