From: Jakub Narebski Date: Fri, 15 Dec 2006 10:03:19 GMT Subject: Re: [PATCH] Cleanup git-diff documentation Message-ID: In-Reply-To: <9A80051B-1F6B-4FFD-B33F-84121D3A422F@silverinsanity.com> Brian Gernhardt wrote: > -This command shows changes between four combinations of states. > +Show changes between two trees, a tree and the working tree, a > +tree and the index file, or the index file and the working tree. > +The combination of what is compared with what is determined by > +the number of trees given to the command. You talk here about "number of _trees_" while later you use , not or . Only at the very end you say that ( because you can use tags as well) can be replaced by any . That said, I like this clarification, especially the fact that I don't have to go to git-diff-tree(1) to find diff options. > 'git-diff' [--options] [--] [...]:: > @@ -25,11 +28,11 @@ This command shows changes between four   > combinations of states. > 'git-diff' [--options] --cached [] [--] [...]:: >         This form is to view the changes you staged for the next > -       commit relative to the named .  Typically you > +       commit relative to the named .  Typically you >         would want comparison with the latest commit, so if you >         do not give , it defaults to HEAD. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git