4 years ago 6fb3a49703 Stefan Sperling
add optional 'consumed' output parameter to got_inflate_to_mem()
4 years ago 4b57020975 Stefan Sperling
revert a change to inflate_read() from Ori's patch; it breaks got-read-blob
4 years ago 2793759294 Stefan Sperling
add more missing \n in fprintfs from got-index-pack
4 years ago fd86ad6ebc Stefan Sperling
pass SEEK_SET instead of zero for fseek() whence parameter
4 years ago 57138e056c Stefan Sperling
add missing \n in error print
4 years ago a98e36f8aa Stefan Sperling
fix inverted error check in readodelta()
4 years ago 4a89c7905d Stefan Sperling
remove unneeded include
4 years ago 629bd8f306 Stefan Sperling
fix fetch_test build
4 years ago a78567c6d6 Stefan Sperling
document fetch API functions
4 years ago ceee4c0f4a Stefan Sperling
remove unused arguments from got_fetch_pack()
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