Re: [PATCH] pack-protocol: clarify LF-handling in PKT-LINE()

2015-09-03 Thread Junio C Hamano
Jeff King writes: > Since the discussion seemed to end up in this "let's make PKT-LINE more > clear" direction, here is an attempt to do that. Ah, I was confused while reading the other one ;-) Will queue this one instead. Thanks. > -- >8 -- > Subject: pack-protocol: clarify LF-handling in PK

Re: [PATCH] pack-protocol: clarify LF-handling in PKT-LINE()

2015-09-03 Thread Jeff King
On Thu, Sep 03, 2015 at 04:24:09AM -0400, Jeff King wrote: > diff --git a/Documentation/technical/protocol-common.txt > b/Documentation/technical/protocol-common.txt > index 889985f..bf30167 100644 > --- a/Documentation/technical/protocol-common.txt > +++ b/Documentation/technical/protocol-common

[PATCH] pack-protocol: clarify LF-handling in PKT-LINE()

2015-09-03 Thread Jeff King
On Thu, Sep 03, 2015 at 04:02:05AM -0400, Jeff King wrote: > I'm also tempted to scrap this and say it just falls under the rule > that every PKT-LINE is "sender SHOULD include LF" and "receiver MUST NOT > complain about missing LF" (which does appear earlier in the document, > though in a differe