Code

Documentation: diff can compare blobs
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 11 Oct 2010 16:04:08 +0000 (11:04 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Oct 2010 02:10:56 +0000 (19:10 -0700)
Meanwhile, there is no plumbing command to compare two blobs.
Strange.

Reported-by: Yann Dirson <dirson@bertin.fr>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-diff.txt

index 481a33c7d11e661af6795b03776a56de02c734af..db2c6c2d31f4bbe2eec0ebd09d7c17c7fc0a1c7b 100644 (file)
@@ -64,8 +64,9 @@ forced by --no-index.
 
 Just in case if you are doing something exotic, it should be
 noted that all of the <commit> in the above description, except
-for the last two forms that use ".." notations, can be any
-<tree-ish>.
+in the last two forms that use ".." notations, can be any
+<tree>.  The third form ('git diff <commit> <commit>') can also
+be used to compare two <blob> objects.
 
 For a more complete list of ways to spell <commit>, see
 "SPECIFYING REVISIONS" section in linkgit:gitrevisions[7].