Commits


gotd: propagate confpath to children as well otherwise they end up running with default config which isn't ideal. ok stsp@


awk ftw! no need to grep, awk can filter lines by itself ok stsp@


change example to use useradd; ok stsp@


send a newline first if erroring out in plaintext mode otherwise, the webserver might complain: 'upstream sent invalid header: "gotwebd\x20..." while reading response header from upstream' ok stsp@


require space between commit author name and email, for Git compatibility Allowing such author fields breaks 'got send' towards Github for affected commits because git-index-pack --strict will error out on the server: $ git index-pack --strict pack-de791fb6a3a1961e44ac5d98d72fd533bf9277c8.pack error: object 5d6bde9eaaf27f41ae8fa7112bb45e489d3c16b9: missingSpaceBeforeEmail: invalid author/committer line - missing space before email fatal: fsck error in packed object problem encountered by landry@ ok op@


avoid incomplete writes of pack file data in got-send-pack


add a test suite for gotd(8); check basic clone and send functionality


avoid incomplete writes of buffered pack file chunks in gotsh


avoid looping over SHA1Update() in got-fetch-pack; suggested by millert@


got-fetch-pack: fix wrong memmove length leading to dubious checksum failures ok millert tracey


fix typo which caused a double-free in gotd repo_write_shutdown()


gotctl: simplify socket_path handling ok stsp@


remove umask TODO


respect umask when creating or changing files and directories This behaviour is already documented in got-worktree(5) but wasn't actually implemented. ok stsp@


man page fixes suggested by Josiah Frentsos


add gotctl(8); initially supported commands are 'info' and 'stop' This will be used by an upcoming regress test suite for gotd(8). ok tracey


fix syntax error in gotsh.1 sshd_config example


remove sendfd pledge promise from gotd repo_read process Have the parent process send one end of the pipe directly to gotsh(1), such that repo_write can run without "sendfd". Combining "sendfd" and "recvfd" in the same process is frowned upon. ok tracey


remove sendfd pledge promise from gotd repo_write process Have the parent process send one end of the pipe directly to gotsh(1), such that repo_write can run without "sendfd". Combining "sendfd" and "recvfd" in the same process is frowned upon. ok tracey


change add_delta to take an off_t instead of size_t. add_delta already calls got_delta_open casting the size_t to off_t, and all the add_delta callers pass an off_t anyway; fixes an implicit off_t truncation. ok stsp@


stop installing git-{receive,upload}-pack symlinks to gotsh in ~/bin Having those links in the user's PATH can make our send/fetch regression tests fail. We do want to talk to git-daemon during those tests, and these symlinks can get in the way of that.


convert got_pack' filesize to off_t; ok stsp@


plug a memory leak on error in got_gotconfig_read() ok op@


add missing check for errors from got_gotconfig_read() in open_worktree()


make got.conf(5) warn about remotes configured in locally-shared repositories