4 years ago Stefan Sperling
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()
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()
parse symrefs from server capabilities and transmit them over imsg
send the 'host' parameter to support git-daemon's virtual hosting
actually catch connection errors in got_fetch()
make protocol dial helpers return struct got_error style errors
send fetch progress over imsg
rename got_clone() to got_fetch()
actually create a pack and an index in the right place
pass an object_id * to got_privsep_send_index_pack_req()
add a .git suffix to cloned repositories by default
GOT_IMSG_ACK isn't needed; just fill the pipe, reading responses will block
use got_opentemp_named_fd() instead of open() for tempfiles in got_clone()
Add initial support for network protocol. Ported from git9 by Ori Bernstein.