Skip to content

Commit

Permalink
diff-tree: Note that the commit ID is printed with --stdin
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Karl Hasselström authored and Junio C Hamano committed Aug 11, 2008
1 parent a57114c commit 7cccfaa
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Documentation/git-diff-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cccfaa

Please sign in to comment.