Commit Briefs

Stefan Sperling

make close(2) failure checks consistent; check 'close() == -1' everywhere

ok millert, naddy


Stefan Sperling

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.


Stefan Sperling

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.



Stefan Sperling

detect unknown repository format extensions (such as sha256 format)

ok millert


Christian Weisgerber

indentation fixes





Christian Weisgerber

Stop including <sys/syslimits.h> directly.

POSIX says the limits defined there are available from <limits.h>, which almost all affected source files already included anyway. ok millert stsp


Stefan Sperling

zap trailing tabs


Stefan Sperling

add got.conf(5) configuration file

ok tracey


Christian Weisgerber

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

ok stsp


Stefan Sperling

exit the loop in got_privsep_recv_tree() upon error

found while looking over tracey's scan-build results


Stefan Sperling

plug a memory leak in got_privsep_recv_tree() in error case

found while looking over tracey's scan-build results