From: Junio C Hamano Date: Wed, 24 Apr 2013 19:21:04 GMT Subject: Re: [PATCH 3/5] git-diff.txt: group the [--] and [...] templates Message-ID: <7vy5c7buqn.fsf@alter.siamese.dyndns.org> In-Reply-To: Ramkumar Ramachandra writes: > Junio C Hamano wrote: >> The same logic would apply to this semi-nonsense rewrite, no? >> >> git diff [[options] [--]] [...] >> >> Everything else comes before "--" (if exists) that separates it from >> the list of pathspecs. > > Yeah, except it's sometimes > > [[options] [revision range] [--]] [...] > > and other times > > [[options] [...] [--]] [...] > > and yet other times > > [[options] [--]] [...] > > Whereas mine is always > > ... [[--] []] > > (everywhere in git) You are missing the entire point. Neither [[everything else][--]][path] or [everything else][[--][path]] is better than without the extra level of [], which does not help clarifying _anything_.