Re: [PATCH 2/4] receive-pack: implement advertising and receiving push options
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> packet_read() does NUL-terminate for you. It gets the extra bytes
> because it doesn't store the 4-byte size in the output (whereas the
> client does not ever send anything over LARGE_PACKET_MAX, _including_
> those bytes, so we always have room to store its result in our
> LARGE_PACKET_MAX buffer, plus the NUL, with 3 bytes to spare).
Good; then the loop will further be simplified ;-)
Thanks.