X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-diff-files.txt;h=3b04bfeec6ad18edffd9b6d44709a10fdda36b8c;hb=99e368b996d6fcc2383a4b385130a0cb70c164e2;hp=ba257e8fb075df302f304912b0207f27c2a204bb;hpb=f345b0a066572206aac4a4f9a57d746e213b6bff;p=git.git diff --git a/Documentation/git-diff-files.txt b/Documentation/git-diff-files.txt index ba257e8f..3b04bfee 100644 --- a/Documentation/git-diff-files.txt +++ b/Documentation/git-diff-files.txt @@ -1,57 +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] [-B] [-M] [-C] [-R] [-S] [--pickaxe-all] [...] +'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:: - Output diff in reverse. - --B:: - Break complete rewrite changes into pairs of delete and create. - --M:: - Detect renames. - --C:: - Detect copies as well as renames. - --S:: - Look for differences that contains the change in . - ---pickaxe-all:: - When -S finds a change, show all the changes in that - changeset, not just the files that contains the change - in . - --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[] @@ -67,5 +39,5 @@ Documentation by David Greaves, Junio C Hamano and the git-list