Skip to content

Commit ed84e6d

Browse files
jrngitster
authored andcommitted
Documentation: diff can compare blobs
Meanwhile, there is no plumbing command to compare two blobs. Strange. Reported-by: Yann Dirson <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9d83e38 commit ed84e6d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-diff.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ forced by --no-index.
6464

6565
Just in case if you are doing something exotic, it should be
6666
noted that all of the <commit> in the above description, except
67-
for the last two forms that use ".." notations, can be any
68-
<tree-ish>.
67+
in the last two forms that use ".." notations, can be any
68+
<tree>. The third form ('git diff <commit> <commit>') can also
69+
be used to compare two <blob> objects.
6970

7071
For a more complete list of ways to spell <commit>, see
7172
"SPECIFYING REVISIONS" section in linkgit:gitrevisions[7].

0 commit comments

Comments
 (0)