Commits


avoid re-reading the entirety of an object's data to calculate the CRC


make use of the large object counter inside the packidx structure


remove duplicated code under #if 0


remove pointless lseek() call in index_pack()


fix CRC values in generated pack index


enable object CRC calculation in got-index-pack


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


send indexing progress via an imsg


add optional 'consumed' output parameter to got_inflate_to_mem()


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()


pass an object_id * to got_privsep_send_index_pack_req()


GOT_IMSG_ACK isn't needed; just fill the pipe, reading responses will block


Add initial support for network protocol. Ported from git9 by Ori Bernstein.