Subject: Re: [PATCH] cg-object-id: comment the alternate id shortcut parsing

From: Jonas Fonseca <[email-masked]>
Date: Wed, 7 Dec 2005 23:14:49 +0100

Petr Baudis <[email-masked]> wrote Wed, Dec 07, 2005:
> Dear diary, on Wed, Dec 07, 2005 at 10:39:43PM CET, I got a letter
> where Jonas Fonseca <[email-masked]> said that...
> > -	# Short id's must be lower case and at least 4 digits.
> > +	# Short id's must be lower case and at least 4 digits. git-rev-parse(1)
> > +	# allows only down to 5 digits and we want to show the list of matched
> > +	# ids.
> 
> Huh. The code in sha1_name.c speaks differently and it works as well:
> 
> 	$ git-rev-parse b1fc
> 	b1fcca45069d4f6b00a9ac7136be4268d09fd6b9

I had this one testcase:

	~/src/elinks/0.11 > cg-object-id --verify e6b6
	cg-object-id: unrecognized option `--verify'
	~/src/elinks/0.11 > cg-object-id e6b6
	e6b65b543108bfeb95ea24978112b46e34cfde87

Could it have something to do with the local packing?

-- 
Jonas Fonseca