git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jonas Fonseca <fonseca@diku.dk>
Date
Dec 7, 2005, 22:14 UTC
Message-ID
<20051207221449.GA27619@diku.dk>
In-Reply-To
<20051207220521.GM22159@pasky.or.cz>
Petr Baudis <pasky@suse.cz> wrote Wed, Dec 07, 2005:
Show 11 quoted lines
> Dear diary, on Wed, Dec 07, 2005 at 10:39:43PM CET, I got a letter
> where Jonas Fonseca <fonseca@diku.dk> 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
Previous: Petr BaudisNext: Jonas Fonseca
Message 3 of 4 in “cg-object-id: comment the alternate id shortcut parsing”
  1. cg-object-id: comment the alternate id shortcut parsingJonas Fonseca, Dec 7, 2005
  2. Petr BaudisDec 7, 2005
  3. Jonas FonsecaDec 7, 2005
  4. Jonas FonsecaDec 7, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.