Commits


de-duplicate code which prints the HEAD revision during clone


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


set executable bit on clone.sh and fetch.sh


add tests for 'got clone' and 'got fetch'; requires 'ssh 127.0.0.1' to work


handle reference-only updates in 'got fetch' where server sends an empty pack


fix 'got fetch -q' which still produced some unintended output


close fetchfd when we're done in got-fetch-pack


make 'clone -l' and 'fetch -l' list all references, regardless of namespace


add -d option to 'got fetch' for deleting old branches and tags


sync usage() for clone and fetch


properly terminate the ssh process after fetching via SSH


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


prevent 'got diff' from needlessly opening a work tree


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


got.1 wording tweak for clarity