commit c6b5adb85da13d21aa8937805dce16fedb07272b from: Stefan Sperling date: Mon Nov 07 16:08:02 2022 UTC fix sending of capabilities from gotsh(1) in case repository has no refs commit - 110104b65c5b511d6e99058e536c132ab962d863 commit + c6b5adb85da13d21aa8937805dce16fedb07272b blob - 6f66eecd32025d4fd1d36dcd102e422f5e949b63 blob + 85ee3e8503a054b2d587e80262d305695c1c8449 --- 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