4 years ago 07e52fce86 Stefan Sperling
rename got_fetch() to got_fetch_pack()
4 years ago 20eb36d0c1 Stefan Sperling
attempt to connect to a server before creating a local repo
4 years ago 66cba96f00 Stefan Sperling
use GOT_OBJECTS_PACK_DIR instead of variants of the same which contain typos
4 years ago d9b4d0c08e Stefan Sperling
make got_fetch() provide reference info to callers and set refs in cmd_clone()
4 years ago bb64b79860 Stefan Sperling
have got_fetch() require an open got_repository to be passed in
4 years ago 09838ffc93 Stefan Sperling
make got_fetch() expect URI information in parsed form
4 years ago 82ebf66693 Stefan Sperling
tweak parse_uri() function, declare it as public API, and add a test for it
4 years ago ee61b6d3d5 Stefan Sperling
make 'got clone' create references; cloned repositories are now usable
4 years ago 8e278d17a2 Stefan Sperling
plug leaks in error paths of got_fetch()
4 years ago d45e6863c2 Stefan Sperling
fix typo in comment
4 years ago abe0f35f1a Stefan Sperling
parse symrefs from server capabilities and transmit them over imsg
4 years ago 13ce8c9368 Stefan Sperling
add missing space between first wanted hash and our capability string
4 years ago a6f88e332a Stefan Sperling
make got-fetch-pack sanity check error messages sent by server
4 years ago 8a29a08527 Stefan Sperling
make got-fetch-pack match its capabilities with those of the server
4 years ago 0d0a341cba Stefan Sperling
parse server capabilities in got-fetch-pack
4 years ago 4312a49832 Stefan Sperling
send the 'host' parameter to support git-daemon's virtual hosting
4 years ago 9b45e112d9 Stefan Sperling
remove redundant colon from error message
4 years ago 75fd4eb229 Stefan Sperling
actually catch connection errors in got_fetch()
4 years ago abd4a1be8b Stefan Sperling
move new errors codes to end of error code list
4 years ago 5cc27ede64 Stefan Sperling
make protocol dial helpers return struct got_error style errors
4 years ago 8f2d01a65f Stefan Sperling
send fetch progress over imsg
4 years ago 018e0a9a45 Stefan Sperling
rename got_fetch_pack to just fetch_pack; this function is static
4 years ago 9ff1041997 Stefan Sperling
convert got_fetch_pack to got_error + KNF
4 years ago b887aab604 Stefan Sperling
plug leaks in error path of got_privsep_recv_fetch_progress()
4 years ago b9f99abf2d Stefan Sperling
add imsg for fetch progress reporting; for now only contains reference info