commit ea1f05850232e766bb357cd6de49c4243bcf902b from: Stefan Sperling via: Thomas Adam date: Mon Nov 07 16:37:35 2022 UTC fix sending of capabilities from gotsh(1) in case repository has no refs commit - e28099979b03e56c094eb0e2f04137b96510f632 commit + ea1f05850232e766bb357cd6de49c4243bcf902b blob - 12c72f92c8d5b7a19c19b7704634f5a46ed89f60 blob + bcfba4ab960fd7d539e4248572d69f7fc58159dc --- lib/serve.c +++ lib/serve.c @@ -242,7 +242,7 @@ send_zero_refs(int outfd, int chattygot) if (err) return err; - return got_pkt_writepkt(outfd, buf, len, chattygot); + return got_pkt_writepkt(outfd, buf, len + capalen, chattygot); } static void