Commits


rewritten got-index-pack; sorry about the monster commit


make output buffer optional for got_inflate_to_mem{,_fd}()


add optional 'consumed' output parameter to got_inflate_to_mem_fd()


send indexing progress via an imsg


in got_fetch_pack, use a separate set of variables for fetching and indexing


check pack file hash in the main process


send pack file download progress information over imsg


improve error message on short packfile


rename imsg FETCH_PROGRESS to FETCH_REF


check pack file header in fetch_pack()


add support for git protocol sidebands and display server progress


remove a pointless 'goto done'


remove unused hash string arrays


make got-fetch-pack check for NAK from server before the packfile arrives


hide an fprintf inside if (chattygit)


verify that length string read from packet contains hex digits only


improve strtol checking in got-fetch-pack


convert flushpkt to struct got_error


convert writepkt to struct got_error


convert readn and readpkt to struct got_error


knf


more reasonable minimum length check in check_pack_hash()


make check_pack_hash() return a struct got_error


add_symref modifies 'capa' so it cannot be const


pledge got-fetch-pack ("stdio recvfd")