Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
diff-tree: Note that the commit ID is printed with --stdin
author
Karl Hasselström
<kha@treskal.com>
Sun, 10 Aug 2008 16:12:53 +0000
(18:12 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 Aug 2008 08:35:47 +0000
(
01:35
-0700)
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>
Documentation/git-diff-tree.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a57114c
)
diff --git
a/Documentation/git-diff-tree.txt
b/Documentation/git-diff-tree.txt
index 1fdf20dcc9169be2c7a51b32f94893442e160436..1f4b91ed45ea5e3f1cba3cb6533e9a8718576b52 100644
(file)
--- 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.
+
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.
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
-m::
By default, 'git-diff-tree --stdin' does not show