From: Tony Finch Date: Wed, 03 Jun 2009 21:53:20 GMT Subject: Re: Request for detailed documentation of git pack protocol Message-ID: In-Reply-To: <200906032320.23559.jnareb@gmail.com> On Wed, 3 Jun 2009, Jakub Narebski wrote: > > Actually git accepts both lowercase and uppercase in HEXDIG (at least > for pkt-length), but it prefers lowercase. You should ensure that all hex digit strings follow the same rule. Are SHA-1 object names case insensitive too? Case insensitivity has a history of being awkward. SMTP has always had case-insensitive commands, though the RFCs have always written them in upper case and implementations have pretty much all emitted them in upper case. See http://tools.ietf.org/html/rfc5321#section-2.4 especially the caveat about broken case-sensitive implementations. Tony. -- f.anthony.n.finch http://dotat.at/ GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS. MODERATE OR GOOD.