Commits


use the POSIX standard endian functions and explicitly include <endian.h> ok stsp


do not rely on <zlib.h> to pull in <unistd.h> ok stsp


don't override port configuration with explicit argument if the url doesn't contains it it permits to .ssh/config to be honored same diff from stsp@


stop verifying pack file checksum in the main process during clone/fetch Both got-fetch-pack and got-index-pack now verify the pack file checksum. This means we can avoid reading the entire pack file in the main process just to verify its checksum and avoid a noticable stall between fetching and indexing on slow machines.


represent packfile hash as byte array in the privsep layer, not as object ID


always initialize pack hash output parameter of got_fetch_pack()


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


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


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


support non-default port numbers with SSH and tweak URI parser port handling


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


allow 'got fetch' to operate on a non-bare git repository


fix chopped display of git-server's progress output


implement 'got fetch'


add support for Git's SCP style URLs to got_fetch_parse_uri()


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


do not allow passing arbitrary options to SSH


remove unused constants


write large objects to disk when resolving deltas; raise in-mem delta threshold


apply unveil(2) to 'got clone'


make addrinfo error messages more obvious