summaryrefslogtreecommitdiff
path: root/Documentation/git-diff.txt
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-18 02:08:09 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-18 04:45:41 (GMT)
commit41a5564e054043945e365c580abab724e12744ff (patch)
tree024d969caa86b4a7711c993b399315d9be83847c /Documentation/git-diff.txt
parentee53aff486d380986e549ea93a5d68e7b7607293 (diff)
downloadgit-41a5564e054043945e365c580abab724e12744ff.zip
git-41a5564e054043945e365c580abab724e12744ff.tar.gz
git-41a5564e054043945e365c580abab724e12744ff.tar.bz2
Refer users to git-rev-parse for revision specification syntax.
The revision specification syntax (sometimes referred to as SHA1-expressions) is accepted almost everywhere in Git by almost every tool. Unfortunately it is only documented in git-rev-parse.txt, and most users don't know to look there. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-diff.txt')
-rw-r--r--Documentation/git-diff.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt
index 8977877..6a098df 100644
--- a/Documentation/git-diff.txt
+++ b/Documentation/git-diff.txt
@@ -47,6 +47,9 @@ Just in case if you are doing something exotic, it should be
noted that all of the <commit> in the above description can be
any <tree-ish>.
+For a more complete list of ways to spell <commit>, see
+"SPECIFYING REVISIONS" section in gitlink:git-rev-parse[1].
+
OPTIONS
-------