Commits


remove declaration of got_fetch_parse_uri()


de-duplicate a constant used by both 'got fetch' and 'got send' Both GOT_FETCH_PKTMAX and GOT_SEND_PKTMAX had the same value. Declare this value as GOT_PKT_MAX in got_lib_pkt.h instead.


move duplicated dial_ssh() and dial_git() functions into a common file These functions are used by 'got send' and 'got fetch' in order to open network connections to a server. Move them into new file lib/dial.c and declare relevant functions in got_dial.h and lib/got_lib_dial.h. No functional change.


add support for fetching arbitrary references to 'got clone' and 'got fetch'


remove GOT_FETCH_DEBUG and toggle fetch debug output with -v option instead


properly terminate the ssh process after fetching via SSH


add support for listing remote branches and tags to 'got clone' and 'got fetch'


add support for fetching specific branches to 'got clone' and 'got fetch'


fetch only HEAD branch and tags by default; add -a option to fetch everything


add support for repository mirrors to 'got clone' and 'got fetch'


fix chopped display of git-server's progress output


implement 'got fetch'


allow controlling verbosity of 'got clone' with -q and -v options


do not forget to create references under remotes/origin during 'got clone'


apply unveil(2) to 'got clone'