4 years ago Stefan Sperling
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()
have got_fetch() require an open got_repository to be passed in
make got_fetch() expect URI information in parsed form
tweak parse_uri() function, declare it as public API, and add a test for it
make 'got clone' create references; cloned repositories are now usable
plug leaks in error paths of got_fetch()
fix typo in comment
parse symrefs from server capabilities and transmit them over imsg
add missing space between first wanted hash and our capability string
make got-fetch-pack sanity check error messages sent by server
make got-fetch-pack match its capabilities with those of the server
parse server capabilities in got-fetch-pack
send the 'host' parameter to support git-daemon's virtual hosting
remove redundant colon from error message
actually catch connection errors in got_fetch()
move new errors codes to end of error code list
make protocol dial helpers return struct got_error style errors
send fetch progress over imsg
rename got_fetch_pack to just fetch_pack; this function is static
convert got_fetch_pack to got_error + KNF
plug leaks in error path of got_privsep_recv_fetch_progress()
add imsg for fetch progress reporting; for now only contains reference info