Commit Briefs

638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


230a42bdc6 joshua stein

got_error_from_errno -> got_error_prefix_errno

also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


324d37e7c7 Stefan Sperling

make got path APIs available to library consumers


fb43ecf150 Stefan Sperling

check for errors from fclose()


15a949835c Stefan Sperling

remove struct got_object from public library API


b2f7af546d Stefan Sperling

check for size_t overflow in got_delta_apply_in_mem()

like libgit2's c15771104 (delta: fix overflow when computing limit)


34fca9c35c Stefan Sperling

bounds checks before memcpy in got_delta_apply_in_mem()


14118581d8 Stefan Sperling

no need to zero got_delta during allocation


c336f88938 Stefan Sperling

don't store copies of packfile paths in each delta


6358180434 Stefan Sperling

rename zbuf to inflate


788c352e1f Stefan Sperling

store commit timestamps as 'struct tm' in UTC


72eb343178 Stefan Sperling

look up deltas in the correct pack file



a53d2f1379 Stefan Sperling

cache delta data in struct got_delta directly



ef2bccd93f Stefan Sperling

stop opening pack files redundantly to read deltas



224848656b Stefan Sperling

process delta chains in memory if max size is < 32 MB


39ff877fbb Stefan Sperling

expand deltas in memory if result size is < 32MB


32cb896c4b Stefan Sperling

rename library-private headers from *_priv.h to *_lib.h


5677e194b1 Stefan Sperling

rename got_zb_priv.h to got_zbuf_priv.h



bdd2fbb322 Stefan Sperling

read delta data from the right offset


06e5fc98c0 Stefan Sperling

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