Re: [PATCH 3/5 v4] diff: parse detached options --stat-width n, --stat-name-width n
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Aug 2, 2010, 18:47 UTC
- Message-ID
- <vpqzkx4df88.fsf@bauges.imag.fr>
- In-Reply-To
- <7v1vahnebk.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> This will accept "--stat-width=40", "--stat-width 40", and "--stat=40,20" > but not "--stat 40,20" --- am I reading the patch correctly?
Yes.
> Not a complaint but trying to double-check. I think it is Ok not to try > guessing wrong (the user may be interested in a path 40,20, for example).
Right. Same goes for all optional arguments, the sticky form is required.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/