]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-diff-files.txt
[PATCH 1/4] split core-git.txt and update
[thirdparty/git.git] / Documentation / git-diff-files.txt
CommitLineData
2cf565c5
DG
1git-diff-files(1)
2=================
3v0.1, May 2005
4
5NAME
6----
7git-diff-files - Compares files in the working tree and the cache
8
9
10SYNOPSIS
11--------
12'git-diff-files' [-p] [-q] [-r] [-z] [<pattern>...]
13
14DESCRIPTION
15-----------
16Compares the files in the working tree and the cache. When paths
17are specified, compares only those named paths. Otherwise all
18entries in the cache are compared. The output format is the
19same as "git-diff-cache" and "git-diff-tree".
20
21OPTIONS
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 This flag does not mean anything. It is there only to match
31 git-diff-tree. Unlike git-diff-tree, git-diff-files always looks
32 at all the subdirectories.
33
34
35Output format
36-------------
37include::diff-format.txt[]
38
39
40Author
41------
42Written by Linus Torvalds <torvalds@osdl.org>
43
44Documentation
45--------------
46Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
47
48GIT
49---
50Part of the link:git.html[git] suite
51