diff documentation: mostly talk about <commit>
This corrects minor remaining bits that still talked about <tree-ish>; the Porcelain users (as opposed to plumbers) are mostly interested in commits so use <commit> consistently and keep a sentence that mentions that <tree-ish> can be used in place of them.
Junio C Hamano committed
Dec 20, 2006 at 14:41 UTC
ce0545455a09113a8ece8f80c87ec61110569940
1 file changed
+2
-2
Documentation/git-diff.txt
+2
-2
@@ -8,7 +8,7 @@ git-diff - Show changes between commits, commit and working tree, etc
8
9
SYNOPSIS
10
--------
11
-'git-diff' [ --diff-options ] <tree-ish>{0,2} [--] [<path>...]
11
+'git-diff' [ --diff-options ] <commit>{0,2} [--] [<path>...]
12
13
DESCRIPTION
14
-----------
@@ -26,7 +26,7 @@ tree and the index file, or the index file and the working tree.
26
'git-diff' [--options] --cached [<commit>] [--] [<path>...]::
27
28
This form is to view the changes you staged for the next
29
- commit relative to the named <tree-ish>. Typically you
29
+ commit relative to the named <commit>. Typically you
30
would want comparison with the latest commit, so if you
31
do not give <commit>, it defaults to HEAD.
32