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

Re: [RFC] git-fsck-cache argument processing

From
Junio C Hamano <junkio@cox.net>
Date
May 21, 2005, 05:59 UTC
Message-ID
<7vekc1nmq4.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050521051536.GA9387@havoc.gtf.org>
>>>>> "JG" == Jeff Garzik <jgarzik@pobox.com> writes:
JG> On Fri, May 20, 2005 at 10:08:19PM -0700, Junio C Hamano wrote:
>> The patch looks good.  Before you proceed to convert the rest,
>> could I ask you to first let us see the list of new set of
>> options and semantics changes, if any ("checkout-cache -f -a" vs
>> "checkout-cache -a -f" immediately comes to mind)?

JG> FWIW most users (including me!) would expect that order of JG> options is -not- significant.

That set of users includes me. I was hoping that this round would not just change things to use argp, but at the same time attempt to "fix" the problems around argument parsing.

JG> Typical implementation is agnostic on the ordering of JG> options, but with a few lines of code in parse_opt() that JG> need not always be the case.

I think you are responding to my "semantic changes" question, but I did not mean to say that exactly emulating the current behaviour is the requirement, nor I meant to ask if doing so is impossible using argp(). I just wanted to see "the set of planned fixes" while we are at it.

Previous: Jeff GarzikNext: Olivier Galibert
Message 7 of 18 in “[RFC] git-fsck-cache argument processing”
  1. SeanMay 21, 2005
  2. Jeff GarzikMay 21, 2005
  3. SeanMay 21, 2005
  4. Jeff GarzikMay 21, 2005
  5. Junio C HamanoMay 21, 2005
  6. Jeff GarzikMay 21, 2005
  7. Junio C HamanoMay 21, 2005
  8. Olivier GalibertMay 21, 2005
  9. Jeff GarzikMay 21, 2005
  10. SeanMay 21, 2005
  11. Olivier GalibertMay 21, 2005
  12. SeanMay 21, 2005
  13. Jeff GarzikMay 21, 2005
  14. Joel BeckerMay 21, 2005
  15. Linus TorvaldsMay 21, 2005
  16. SeanMay 21, 2005
  17. SeanMay 21, 2005
  18. Linus TorvaldsMay 21, 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.