Re: Request for detailed documentation of git pack protocol
- From
Tony Finch <dot@dotat.at>
- Date
- Jun 3, 2009, 21:53 UTC
- Message-ID
- <alpine.LSU.2.00.0906032240300.31588@hermes-2.csi.cam.ac.uk>
- 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 <dot@dotat.at> http://dotat.at/ GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS. MODERATE OR GOOD.