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.