4 years ago 1d72a2a0ee Stefan Sperling
represent packfile hash as byte array in the privsep layer, not as object ID
4 years ago e70bf110de Stefan Sperling
move functions from privsep.c to the helpers which use them where possible
4 years ago 0e4002cadf Stefan Sperling
add support for fetching arbitrary references to 'got clone' and 'got fetch'
4 years ago 2690194b1a Stefan Sperling
remove GOT_FETCH_DEBUG and toggle fetch debug output with -v option instead
4 years ago 41b0de1256 Stefan Sperling
add support for listing remote branches and tags to 'got clone' and 'got fetch'
4 years ago 4ba1413314 Stefan Sperling
add support for fetching specific branches to 'got clone' and 'got fetch'
4 years ago 659e7fbd69 Stefan Sperling
fetch only HEAD branch and tags by default; add -a option to fetch everything
4 years ago 469dd7264e Stefan Sperling
add support for repository mirrors to 'got clone' and 'got fetch'
4 years ago 7848a0e165 Stefan Sperling
implement 'got fetch'
4 years ago f826addf6c Stefan Sperling
use a dedicated imsg for sending the pack fetch output file descriptor
4 years ago 73ab106035 Stefan Sperling
use a dedicated imsg for sending the pack index output file descriptor
4 years ago 668a20f6fe Stefan Sperling
rewritten got-index-pack; sorry about the monster commit
4 years ago baa9fea074 Stefan Sperling
send indexing progress via an imsg
4 years ago d2cdc63664 Stefan Sperling
send pack file download progress information over imsg
4 years ago ea7396b906 Stefan Sperling
rename imsg FETCH_PROGRESS to FETCH_REF
4 years ago 531c39852f Stefan Sperling
add support for git protocol sidebands and display server progress
4 years ago 3350156242 Stefan Sperling
currently we always send and expect an empty list
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 8f2d01a65f Stefan Sperling
send fetch progress over imsg
4 years ago b9f99abf2d Stefan Sperling
add imsg for fetch progress reporting; for now only contains reference info
4 years ago 279090e148 Stefan Sperling
pass an object_id * to got_privsep_send_index_pack_req()
4 years ago a251e40e11 Stefan Sperling
GOT_IMSG_ACK isn't needed; just fill the pipe, reading responses will block
4 years ago 93658fb90d Stefan Sperling
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
4 years ago 9a1cc63fe0 Stefan Sperling
read repository owner name with gitconfig parser instead of a hand-rolled one