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>
Karl Hasselström committed
Aug 10, 2008 at 18:12 UTC
7cccfaa2809a09cb321a5f1276c5b91a71594527
1 file changed
+7
-3
Documentation/git-diff-tree.txt
+7
-3
@@ -52,10 +52,14 @@ include::diff-options.txt[]
52
reads either one <commit> or a list of <commit>
53
separated with a single space from its standard input.
54
+
55
-When a single commit is given on one line of such input, it compares
56
-the commit with its parents. The following flags further affects its
57
-behavior. The remaining commits, when given, are used as if they are
55
+When a single commit is given, it compares the commit with its
56
+parents. The remaining commits, when given, are used as if they are
57
parents of the first commit.
58
++
59
+The ID of the first (or only) commit, followed by a newline, is
60
+printed before the differences.
61
++
62
+The following flags further affects its behavior.
63
64
-m::
65
By default, 'git-diff-tree --stdin' does not show