summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Hasselström <kha@treskal.com>2008-08-10 18:12:53 +0200
committerJunio C Hamano <gitster@pobox.com>2008-08-11 01:35:47 -0700
commit7cccfaa2809a09cb321a5f1276c5b91a71594527 (patch)
treefc7c778ce55819e324bf1119167974727b8f62fb
parenta57114c81832a70efda4991131b9b99d1b112ea3 (diff)
downloadgit-7cccfaa2809a09cb321a5f1276c5b91a71594527.tar.gz
diff-tree: Note that the commit ID is printed with --stdin
It's sort of already documented with the --no-commit-id command-line flag, but let's not hide important information from the user. Signed-off-by: Karl Hasselström <kha@treskal.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-diff-tree.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/git-diff-tree.txt b/Documentation/git-diff-tree.txt
index 1fdf20dcc9..1f4b91ed45 100644
--- a/Documentation/git-diff-tree.txt
+++ b/Documentation/git-diff-tree.txt
@@ -52,10 +52,14 @@ include::diff-options.txt[]
reads either one <commit> or a list of <commit>
separated with a single space from its standard input.
+
-When a single commit is given on one line of such input, it compares
-the commit with its parents. The following flags further affects its
-behavior. The remaining commits, when given, are used as if they are
+When a single commit is given, it compares the commit with its
+parents. The remaining commits, when given, are used as if they are
parents of the first commit.
++
+The ID of the first (or only) commit, followed by a newline, is
+printed before the differences.
++
+The following flags further affects its behavior.
-m::
By default, 'git-diff-tree --stdin' does not show