ba257e8fb075df302f304912b0207f27c2a204bb
   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] [-B] [-M] [-C] [-R] [-S<string>] [--pickaxe-all] [<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        Output diff in reverse.
  31
  32-B::
  33        Break complete rewrite changes into pairs of delete and create.
  34
  35-M::
  36        Detect renames.
  37
  38-C::
  39        Detect copies as well as renames.
  40
  41-S<string>::
  42        Look for differences that contains the change in <string>.
  43
  44--pickaxe-all::
  45        When -S finds a change, show all the changes in that
  46        changeset, not just the files that contains the change
  47        in <string>.
  48
  49-r::
  50        This flag does not mean anything.  It is there only to match
  51        git-diff-tree.  Unlike git-diff-tree, git-diff-files always looks
  52        at all the subdirectories.
  53
  54
  55Output format
  56-------------
  57include::diff-format.txt[]
  58
  59
  60Author
  61------
  62Written by Linus Torvalds <torvalds@osdl.org>
  63
  64Documentation
  65--------------
  66Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  67
  68GIT
  69---
  70Part of the link:git.html[git] suite
  71