git/serve: we don't do thin packs -- advertise it.

This commit is contained in:
Ori Bernstein 2024-09-16 22:51:25 +00:00
parent 0636bfc774
commit e2fa84d6cd

View file

@ -55,9 +55,9 @@ showrefs(Conn *c)
s = gethead(&head, buf, sizeof(buf));
if(s != nil)
r = fmtpkt(c, "%H HEAD%csymref=HEAD:%s\n", head, 0, s);
r = fmtpkt(c, "%H HEAD%csymref=HEAD:%s no-thin\n", head, 0, s);
else
r = fmtpkt(c, "%H HEAD\n", head);
r = fmtpkt(c, "%H HEAD%cno-thin\n", head, 0);
if(r == -1)
goto error;