[PATCH] Improve the compilation-time settings interface
[git/dscho.git] / Documentation / diff-options.txt
blob58b9c46c20a6998e5b5abb3e1e396f51d820ace1
1 -p::
2         Generate patch (see section on generating patches)
4 -u::
5         Synonym for "-p".
7 -r::
8         Look recursivelly in subdirectories; this flag does not
9         mean anything to commands other than "git-diff-tree";
10         other commands always looks at all the subdirectories.
12 -z::
13         \0 line termination on output
15 --name-only::
16         Show only names of changed files.
18 --name-only-z::
19         Same as --name-only, but terminate lines with NUL.
21 -B::
22         Break complete rewrite changes into pairs of delete and create.
24 -M::
25         Detect renames.
27 -C::
28         Detect copies as well as renames.
30 --find-copies-harder::
31         By default, -C option finds copies only if the original
32         file of the copy was modified in the same changeset for
33         performance reasons.  This flag makes the command
34         inspect unmodified files as candidates for the source of
35         copy.  This is a very expensive operation for large
36         projects, so use it with caution.
38 -S<string>::
39         Look for differences that contains the change in <string>.
41 --pickaxe-all::
42         When -S finds a change, show all the changes in that
43         changeset, not just the files that contains the change
44         in <string>.
46 -O<orderfile>::
47         Output the patch in the order specified in the
48         <orderfile>, which has one shell glob pattern per line.
50 -R::
51         Swap two inputs; that is, show differences from cache or
52         on-disk file to tree contents.