Documentation / git-diff-files.txton commit [PATCH] git-cvs2git: create tags (32798c7)
   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] [-O<orderfile>] [-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        Swap two inputs; that is, show differences from on-disk files
  31        to cache contents.
  32
  33-B::
  34        Break complete rewrite changes into pairs of delete and create.
  35
  36-M::
  37        Detect renames.
  38
  39-C::
  40        Detect copies as well as renames.
  41
  42-S<string>::
  43        Look for differences that contains the change in <string>.
  44
  45--pickaxe-all::
  46        When -S finds a change, show all the changes in that
  47        changeset, not just the files that contains the change
  48        in <string>.
  49
  50-O<orderfile>::
  51        Output the patch in the order specified in the
  52        <orderfile>, which has one shell glob pattern per line.
  53
  54-r::
  55        This flag does not mean anything.  It is there only to match
  56        git-diff-tree.  Unlike git-diff-tree, git-diff-files always looks
  57        at all the subdirectories.
  58
  59
  60Output format
  61-------------
  62include::diff-format.txt[]
  63
  64
  65Author
  66------
  67Written by Linus Torvalds <torvalds@osdl.org>
  68
  69Documentation
  70--------------
  71Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  72
  73GIT
  74---
  75Part of the link:git.html[git] suite
  76