X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-diff-files.txt;h=3b04bfeec6ad18edffd9b6d44709a10fdda36b8c;hb=562051809589574576971c53c23aad93f8c395d9;hp=0ad2f89550dd325b52a02fd00dc0e26b368b60ce;hpb=f1a7eb36b017c62d9a007b6b8660bdeec3f94f97;p=git.git diff --git a/Documentation/git-diff-files.txt b/Documentation/git-diff-files.txt index 0ad2f895..3b04bfee 100644 --- a/Documentation/git-diff-files.txt +++ b/Documentation/git-diff-files.txt @@ -1,37 +1,29 @@ git-diff-files(1) ================= -v0.1, May 2005 NAME ---- -git-diff-files - Compares files in the working tree and the cache +git-diff-files - Compares files in the working tree and the index SYNOPSIS -------- -'git-diff-files' [-p] [-q] [-r] [-z] [...] +'git-diff-files' [-q] [] [...] DESCRIPTION ----------- -Compares the files in the working tree and the cache. When paths +Compares the files in the working tree and the index. When paths are specified, compares only those named paths. Otherwise all -entries in the cache are compared. The output format is the -same as "git-diff-cache" and "git-diff-tree". +entries in the index are compared. The output format is the +same as "git-diff-index" and "git-diff-tree". OPTIONS ------- --p:: - generate patch (see section on generating patches). +include::diff-options.txt[] -q:: Remain silent even on nonexisting files --r:: - This flag does not mean anything. It is there only to match - git-diff-tree. Unlike git-diff-tree, git-diff-files always looks - at all the subdirectories. - - Output format ------------- include::diff-format.txt[] @@ -47,5 +39,5 @@ Documentation by David Greaves, Junio C Hamano and the git-list