summaryrefslogtreecommitdiff
path: root/sys/src/cmd/git/serve.c
AgeCommit message (Collapse)Author
2022-06-11git/get: keep sending what we have until we get an ackOri Bernstein
Git9 was sloppy about telling git what commits we have. We would list the commits at the tip of the branch, but not walk down it, which means we would request too much data if our local branches were ahead of the remote. This patch changes that, sending the tips *and* the first 256 commits after them, so that git can produce a better pack for us, with fewer redundant commits.
2022-04-17git/serve: log correct error messageOri Bernstein
Sending the packet on failure could junk the errstr, so set it after we send the message.
2021-08-25git/serve: add a '\n' after HEADOri Bernstein
Per the docs: the sender SHOULD include a LF, but the receiver MUST NOT complain if it is not present. I typoed away the SHOULD, and got missed the MUST NOT. thanks qbit.
2021-06-04git/serve: remove undocumented -n namespace option and -r /usr/git defaultcinap_lenrek
This makes it easier to serve local repositories where the sandboxing gets in the way.
2021-05-16git: got git?Ori Bernstein
Add a snapshot of git9 to 9front.