Commits


add got_error_fmt() got_error_fmt() could eventually replace got_error_path() which has already been used to construct errors with strings that are not actually paths... ok millert@


add got_error_from_errno_fmt() for more flexibility in error messages suggested by and ok millert


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


add got.conf(5) configuration file ok tracey


forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them


get a parser in place for the future inclusion of gotconfig to git repos this is for got push and got fetch, primarily ok stsp


make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target


normalize tree entry modes to 0100644 or 0100755 when writing tree objects semarie@ reported an error from go-git used by Cirrus CI: "57243613255d758e15b0f5ae1c960b970f0435f8: malformed mode (0100640)!" 'git fsck' has no problem with mode 0100640. But writing just the two most commonly used file modes should provide the best compatibility.


don't error out if rebase sees no merged paths; elide the commit instead


add support for fetching arbitrary references to 'got clone' and 'got fetch'


fetch only HEAD branch and tags by default; add -a option to fetch everything


implement 'got fetch'


convert readn and readpkt to struct got_error


move new errors codes to end of error code list


make protocol dial helpers return struct got_error style errors