[PATCH 2/4] Documentation: diff can compare blobs
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 11, 2010, 16:04 UTC
- Message-ID
- <20101011160408.GC25842@burratino>
- In-Reply-To
- <20101011160224.GA25842@burratino>
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> --- Documentation/git-diff.txt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt index 481a33c..db2c6c2 100644 --- a/Documentation/git-diff.txt +++ b/Documentation/git-diff.txt @@ -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].
-- 1.7.2.3