[PATCH] Pickaxe fixes.
[git.git] / Documentation / git-diff-files.txt
1 git-diff-files(1)
2 =================
3 v0.1, May 2005
4
5 NAME
6 ----
7 git-diff-files - Compares files in the working tree and the cache
8
9
10 SYNOPSIS
11 --------
12 'git-diff-files' [-p] [-q] [-r] [-z] [-M] [-C] [-R] [-S<string>] [--pickaxe-all] [<pattern>...]
13
14 DESCRIPTION
15 -----------
16 Compares the files in the working tree and the cache.  When paths
17 are specified, compares only those named paths.  Otherwise all
18 entries in the cache are compared.  The output format is the
19 same as "git-diff-cache" and "git-diff-tree".
20
21 OPTIONS
22 -------
23 -p::
24         generate patch (see section on generating patches).
25
26 -q::
27         Remain silent even on nonexisting files
28
29 -R::
30         Output diff in reverse.
31
32 -M::
33         Detect renames.
34
35 -C::
36         Detect copies as well as renames.
37
38 -S<string>::
39         Look for differences that contains the change in <string>.
40
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>.
45
46 -r::
47         This flag does not mean anything.  It is there only to match
48         git-diff-tree.  Unlike git-diff-tree, git-diff-files always looks
49         at all the subdirectories.
50
51
52 Output format
53 -------------
54 include::diff-format.txt[]
55
56
57 Author
58 ------
59 Written by Linus Torvalds <torvalds@osdl.org>
60
61 Documentation
62 --------------
63 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
64
65 GIT
66 ---
67 Part of the link:git.html[git] suite
68