Re: [PATCH 3/3] completion: add dirstat and friends to diff options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 7, 2009, 23:07 UTC
- Message-ID
- <7vmy42pzvc.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20091007205059.GA16235@neumann>
SZEDER Gábor <szeder@ira.uka.de> writes:
Show 7 quoted lines
> On Wed, Oct 07, 2009 at 01:48:51AM -0700, Stephen Boyd wrote: >> + --dirstat --dirstat= --dirstat-by-file >> + --dirstat-by-file= --cumulative > > I'm a bit puzzled by having both --dirstat and --dirstat=, and > --dirstat-by-file and --dirstat-by-file=. How do we complete similar > long options, where an argument and hence the = char is optional?
A similar example in "git init" completion (--shared vs --shared=) already exists, no?