6 years ago 59ece79d29 Stefan Sperling
make struct got_object_id opaque
6 years ago 908b019409 Stefan Sperling
move struct got_zstream_buf to private header zb.h
6 years ago f934cf2c63 Stefan Sperling
make struct got_blob_object opaque
6 years ago 354a7e122f Stefan Sperling
make diff tests silent by default
6 years ago eba5c6bb85 Stefan Sperling
repair blob diffing
6 years ago 7467195036 Stefan Sperling
add output file argument to got_diff_tree
6 years ago f8aea23e89 Stefan Sperling
delta bases are no longer compressed; update delta_test
6 years ago bdd2fbb322 Stefan Sperling
read delta data from the right offset
6 years ago 06e5fc98c0 Stefan Sperling
fix a bug where we'd skip commands in the delta stream
6 years ago 0e22967e43 Stefan Sperling
we must store delta's type-and-size length separately to skip it
6 years ago a6b158cc81 Stefan Sperling
don't read plain objects to memory during unpack
6 years ago 044e73932d Stefan Sperling
don't assume objects IDs are sorted by their values in packidx
6 years ago eb651edf82 Stefan Sperling
more progress on reading packed/deltified objects
6 years ago 126ee0608b Stefan Sperling
remove insize arg from inflate_read()
6 years ago 6b4a60c57f Stefan Sperling
inflate_to_mem doesn't care how much stream it has read
6 years ago af26366500 Stefan Sperling
check HAVE_MORE flag in got_inflate_to_file()
6 years ago 61d262a8cb Stefan Sperling
make got_inflate_read() properly indicate if it needs to be called again
6 years ago 3606d7fc8e Stefan Sperling
tweak the API which inflates data to a file
6 years ago 54382dcc5e Stefan Sperling
keep reading zlib stream until end maker when expanding to mem
6 years ago c743ac7dd2 Stefan Sperling
remove pointless loops in read_{commit,tree}_object()
6 years ago 90356acc35 Stefan Sperling
Fix missing error check in parse_tree_object().
6 years ago 6336b73f5e Stefan Sperling
Fix output length if got_inflate_read() reads some data and then EOF.
6 years ago 824801e7ef Stefan Sperling
Improve delta combiner docs and rename a macro for clarity.
6 years ago 885d3e0206 Stefan Sperling
implement delta combiner and a small test suite for it
6 years ago 4ca7b755cd Stefan Sperling
Move zlib wrapper/buffering code into a separate file.