4 years ago Stefan Sperling
fix 'got fetch' to update the correct set of references in mirror mode
add refspec which git-fetch expects in config file of mirrored repositories
fetch only HEAD branch and tags by default; add -a option to fetch everything
use one consistent way to compute the Git URL to write to the config file
support non-default port numbers with SSH and tweak URI parser port handling
put a proper SSH URL into cloned repositories, rather than 'scp' style syntax
add support for repository mirrors to 'got clone' and 'got fetch'
fix bug where 'got fetch' created references in the wrong namespace
restore missing \n in clone and fetch progress output
avoid needless id_str allocation in cmd_fetch()
create git config file earlier such that interrupted clones can be re-fetched
don't mix server progress messages with regular fetch progress output
appending [remote "origin"] section is enough; no need to overwrite the file
remove 'Writing pack index...' message which was sometimes printed redundantly
wrap an overlong line
use a single verbosity level throughout 'got clone' and 'got fetch'
implement 'got fetch'
display path to cloned repository when 'got clone' is done
improve display of progress message generated by the server during 'got clone'
move clone code and documentation up so it appears before checkout
allow controlling verbosity of 'got clone' with -q and -v options
tweak clone usage output
do not forget to create references under remotes/origin during 'got clone'
create a git config file in newly cloned repositories
apply unveil(2) to 'got clone'