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

Re: Common option parsing..

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 13, 2006, 14:46 UTC
Message-ID
<Pine.LNX.4.64.0604130745160.14565@g5.osdl.org>
In-Reply-To
<7vmzeq12zd.fsf@assigned-by-dhcp.cox.net>
On Wed, 12 Apr 2006, Junio C Hamano wrote:
> 
> However, I am not sure about the two-revs case.  I suspect the
> incoming items are sorted in the revs->commits list

Not by the argument parsing. That happens by "rev_parse_setup()" when we start to do the revision walking.

So after setup_revisions() it's all good (although I think the list may be in "reverse order", I didn't check).

		Linus
Previous: Junio C Hamano
Message 3 of 3 in “Common option parsing..”
  1. Linus TorvaldsApr 13, 2006
  2. Junio C HamanoApr 13, 2006
  3. Linus TorvaldsApr 13, 2006

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.