Re: [PATCH 3/5] git-diff.txt: group the [--] and [<path>...] templates
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 24, 2013, 18:53 UTC
- Message-ID
- <CALkWK0nN+9XOTCqiY+yB9moQSvFFpSO=OZjJtLphBd2eQ24uDw@mail.gmail.com>
- In-Reply-To
- <7vbo93db25.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 6 quoted lines
> The same logic would apply to this semi-nonsense rewrite, no? > > git diff [[options] [--]] [<path>...] > > Everything else comes before "--" (if exists) that separates it from > the list of pathspecs.
Yeah, except it's sometimes
[[options] [revision range] [--]] [<path>...]
and other times
[[options] [<commit>...] [--]] [<path>...]
and yet other times
[[options] [--]] [<path>...]
Whereas mine is always
... [[--] [<path>]]
(everywhere in git)