Documentation: diff can compare blobs
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>
Jonathan Nieder committed
Oct 11, 2010 at 11:04 UTC
ed84e6d511f9e754d6331c63468bf7421b1e0894
1 file changed
+3
-2
Documentation/git-diff.txt
+3
-2
@@ -64,8 +64,9 @@ forced by --no-index.
64
65
Just in case if you are doing something exotic, it should be
66
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.
70
71
For a more complete list of ways to spell <commit>, see
72
"SPECIFYING REVISIONS" section in linkgit:gitrevisions[7].