From: Mark Lodato Date: Fri, 05 Nov 2010 01:57:16 GMT Subject: Re: [PATCH] docs: clarify git diff modes of operation Message-ID: In-Reply-To: <20101104215056.GA18475@burratino> On Thu, Nov 4, 2010 at 5:50 PM, Jonathan Nieder wrote: > .  So I guess technically the separate operation modes are > >        git diff [--cached] >        git diff [--cached] >        git diff >        git diff --no-index >        git diff > > where --cached means "use the version of the work tree stored > in the index in place of the real thing". I prefer this above the other proposals. This breakdown makes the most sense to me, and I see no reason to use when we really mean . One minor thing: should the " " form be moved above " " so that all the git object forms are together? On a related note, I find it a bit confusing that is used to mean two very different things. For " ", it means a file that must exist on disk. For "[...]", it means a pattern on which to filter the output of the command. Since we already have a name for the latter, perhaps we should use the term "[...]".