Commits


portable: initial Linux compilation This commit modifies the GoT main branch to be able to compile it under linux.


indentation fixes


provide separate send {} and fetch {} configuration blocks in got.conf Feature requested by naddy. ok naddy, who also suggested some tweaks that will arrive shortly


add 'got send' command for sending changes to remote repositories Known to work against git-daemon and github Git server implementations. Tests by abieber, naddy, jrick, and myself. Man page additions reviewed by Lucas.


don't scan pack index offsets for large values if pack file is < 2GB This saves an iteration over the entire h->offsets array when opening a pack index which should not contain large offsets in the first place. ok millert@


verify object ID checksums while loose objects are being accessed


implement raw object data access; this will be required for packing


add a 'reference' directive to remote repositories in got.conf(5) Make use of this in 'got clone' to persist -R option arguments given on the command line in the cloned repository's got.conf(5) file.


add a 'fetch-all-branches' configuration setting to got.conf(5) Set fetch-all-branches in the got.conf(5) file created by 'got clone -a' in order to make a future 'got fetch' act like 'got fetch -a' by default.


detect unknown repository format extensions (such as sha256 format) ok millert


add "branch" keyword to got.conf which specifies a list of branches to fetch ok tracey


add got.conf(5) configuration file ok tracey


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


move functions from privsep.c to the helpers which use them where possible


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


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'


implement 'got fetch'


use a dedicated imsg for sending the pack fetch output file descriptor


use a dedicated imsg for sending the pack index output file descriptor


rewritten got-index-pack; sorry about the monster commit


send indexing progress via an imsg