Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:41:58

quoted
quoted
quoted
quoted
"JG" == Jeff Garzik [off-list ref] writes:
JG> On Fri, May 20, 2005 at 10:08:19PM -0700, Junio C Hamano wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help