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

Re: [PATCH Cogito] Improve option parsing for cg-log

From
Petr Baudis <pasky@ucw.cz>
Date
May 17, 2005, 20:16 UTC
Message-ID
<20050517201658.GD7136@pasky.ji.cz>
In-Reply-To
<1115975134.18499.94.camel@pegasus>

Dear diary, on Fri, May 13, 2005 at 11:05:34AM CEST, I got a letter where Marcel Holtmann <marcel@holtmann.org> told me that...

> Hi Petr,
Hi,
Show 5 quoted lines
> > The -r option still must be after all the other options.
> 
> I see what you mean and it seems that I missed that option. Must be
> because you put the list_commit_files() between them and I assumed that
> there is no further option parsing.

Uhm, I know. :-) It sorta evolved like that. We didn't yet settle down on where to actually put the functions. I'd say right after . cg-Xlib.

> Do you really wanna keep the double meaning of -r. Depending on a
> previous -r it is $log_start or $log_end.

Yes, by all means. On one side I like the colon notation, on the other side this was always my biggest usability problem with SVN. And it costs us nothing and does what the user would after all expect, I think.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Marcel HoltmannNext: Dan Holmsand
Message 6 of 7 in “Improve option parsing for cg-log”
  1. Improve option parsing for cg-logMarcel Holtmann, May 12, 2005
  2. Petr BaudisMay 12, 2005
  3. Marcel HoltmannMay 12, 2005
  4. Petr BaudisMay 13, 2005
  5. Marcel HoltmannMay 13, 2005
  6. Petr BaudisMay 17, 2005
  7. Dan HolmsandMay 13, 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.