@@ -9,7 +9,7 @@ git-diff-tree - Compares the content and mode of blobs found via two tree object
99
1010SYNOPSIS
1111--------
12- 'git-diff-tree' [-p] [-r] [-z] [-- stdin] [-m] [-s] [-v] [-t] [-R ] [-B ] [-M] [-C] [--find-copies-harder] [-O<orderfile>] [-S<string>] [--pickaxe-all ] <tree-ish> <tree-ish> [<path>...]
12+ 'git-diff-tree' [-- stdin] [-m] [-s] [-v] [--pretty ] [-t ] [<common diff options> ] <tree-ish> <tree-ish> [<path>...]
1313
1414DESCRIPTION
1515-----------
@@ -19,6 +19,8 @@ Note that "git-diff-tree" can use the tree encapsulated in a commit object.
1919
2020OPTIONS
2121-------
22+ include::diff-options.txt[]
23+
2224<tree-ish>::
2325 The id of a tree object.
2426
@@ -29,51 +31,9 @@ OPTIONS
2931 Note that this parameter does not provide any wildcard or regexp
3032 features.
3133
32- -p::
33- generate patch (see section on generating patches). For
34- git-diff-tree, this flag implies '-r' as well.
35-
36- -B::
37- Break complete rewrite changes into pairs of delete and create.
38-
39- -M::
40- Detect renames.
41-
42- -C::
43- Detect copies as well as renames.
44-
45- --find-copies-harder::
46- By default, -C option finds copies only if the original
47- file of the copy was modified in the same changeset for
48- performance reasons. This flag makes the command
49- inspect unmodified files as candidates for the source of
50- copy. This is a very expensive operation for large
51- projects, so use it with caution.
52-
53- -R::
54- Swap two input trees.
55-
56- -S<string>::
57- Look for differences that contains the change in <string>.
58-
59- --pickaxe-all::
60- When -S finds a change, show all the changes in that
61- changeset, not just the files that contains the change
62- in <string>.
63-
64- -O<orderfile>::
65- Output the patch in the order specified in the
66- <orderfile>, which has one shell glob pattern per line.
67-
68- -r::
69- recurse
70-
7134-t::
7235 show tree entry itself as well as subtrees. Implies -r.
7336
74- -z::
75- \0 line termination on output
76-
7737--root::
7838 When '--root' is specified the initial commit will be showed as a big
7939 creation event. This is equivalent to a diff against the NULL tree.
0 commit comments