4 years ago fe53745c68 Stefan Sperling
convert readn and readpkt to struct got_error
4 years ago 2fed35f30b Stefan Sperling
knf
4 years ago 0872c0b07d Stefan Sperling
more reasonable minimum length check in check_pack_hash()
4 years ago eac2c4cda6 Stefan Sperling
make check_pack_hash() return a struct got_error
4 years ago 01538ce493 Stefan Sperling
add_symref modifies 'capa' so it cannot be const
4 years ago ffb5f621a9 Stefan Sperling
pledge got-fetch-pack ("stdio recvfd")
4 years ago 00cd0e0a8a Stefan Sperling
use more readable names for items parsed from refline, and plug related leaks
4 years ago e2f84af473 Stefan Sperling
remove got_has_object() for now; this would require imsg to main process
4 years ago 4ba321e753 Stefan Sperling
mark some functions static in got-fetch-pack
4 years ago 1ff2107184 Stefan Sperling
remove got_ prefix from static functions in got-fetch-pack
4 years ago f78e04730e Stefan Sperling
add missing \n in debug output
4 years ago 3350156242 Stefan Sperling
currently we always send and expect an empty list
4 years ago 14778466f9 Stefan Sperling
realloc(p, nmemb * size) -> reallocarray(p, nmemb, size)
4 years ago 0f06079ff7 Stefan Sperling
add a TODO comment
4 years ago a468349c51 Stefan Sperling
re-enable fetching of offset deltas in got-fetch-pack
4 years ago acd244626b Stefan Sperling
4 years ago 06c788f93b Stefan Sperling
remove got_make_pack_dir() which is unused
4 years ago cf87557419 Stefan Sperling
4 years ago 4b20c923ed Stefan Sperling
remove strip() stub function that does nothing
4 years ago 6fb3a49703 Stefan Sperling
add optional 'consumed' output parameter to got_inflate_to_mem()
4 years ago 4b57020975 Stefan Sperling
revert a change to inflate_read() from Ori's patch; it breaks got-read-blob
4 years ago 2793759294 Stefan Sperling
add more missing \n in fprintfs from got-index-pack
4 years ago fd86ad6ebc Stefan Sperling
pass SEEK_SET instead of zero for fseek() whence parameter
4 years ago 57138e056c Stefan Sperling
add missing \n in error print
4 years ago a98e36f8aa Stefan Sperling
fix inverted error check in readodelta()