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.
refs = nil;
names = nil;
if(resolveref(&head, "HEAD") != -1)
refs = nil;
names = nil;
if(resolveref(&head, "HEAD") != -1)
- if(fmtpkt(c, "%H HEAD", head) == -1)
+ if(fmtpkt(c, "%H HEAD\n", head) == -1)
goto error;
if((nrefs = listrefs(&refs, &names)) == -1)
goto error;
if((nrefs = listrefs(&refs, &names)) == -1)