Re: [PATCH 4/5] git-diff.txt: document the .. and ... forms in SYNOPSIS
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 24, 2013, 19:03 UTC
- Message-ID
- <20130424190317.GD29963@google.com>
- In-Reply-To
- <1366821216-20868-5-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra wrote:
Show 9 quoted lines
> --- a/Documentation/git-diff.txt > +++ b/Documentation/git-diff.txt > @@ -13,6 +13,8 @@ SYNOPSIS > 'git diff' [options] --cached [<commit>] [[--] [<path>...]] > 'git diff' [options] <blob> <blob> > 'git diff' [options] <commit> <commit> [[--] [<path>...]] > +'git diff' [options] <commit>..<commit> [[--] [<path>...]] > +'git diff' [options] <commit>\...<commit> [[--] [<path>...]] > 'git diff' [options] [--no-index] [[--] <path> <path>]
This is preparation for removing <commit>..<commit> from the documentation, right? It makes sense to add the ... form since there's no other way to spell it but I can't say I'm excited about adding the .. form. Especially since <tree>..<tree> doesn't work, that form's a little embarrassing. ;-)
*checks the manpage*
Ah, this is to make the SYNOPSIS a better table of contents for the DESCRIPTION (except that the DESCRIPTION treats "git diff --no-index <path> <path>" before "git diff [<commit>] -- <pathspec>" while the SYNOPSIS doesn't). Maybe it would make sense to go all the way and make the two follow the same order?
My 2¢, Jonathan