Commits


mark some functions static in got-fetch-pack


remove got_ prefix from static functions in got-fetch-pack


add missing \n in debug output


prepare for providing refs we already have in fetch request imsg currently we always send and expect an empty list


realloc(p, nmemb * size) -> reallocarray(p, nmemb, size)


add a TODO comment


re-enable fetching of offset deltas in got-fetch-pack


add a TODO comment


remove got_make_pack_dir() which is unused


knf


remove strip() stub function that does nothing


add optional 'consumed' output parameter to got_inflate_to_mem()


revert a change to inflate_read() from Ori's patch; it breaks got-read-blob


add more missing \n in fprintfs from got-index-pack


pass SEEK_SET instead of zero for fseek() whence parameter


add missing \n in error print


fix inverted error check in readodelta()


remove unneeded include


fix fetch_test build


document fetch API functions


remove unused arguments from got_fetch_pack()


rename got_fetch() to got_fetch_pack()


attempt to connect to a server before creating a local repo


use GOT_OBJECTS_PACK_DIR instead of variants of the same which contain typos


make got_fetch() provide reference info to callers and set refs in cmd_clone()