[PATCH] New git-apply test cases for patches with mulitple fragments.
[git.git] / Documentation / git-diff-helper.txt
index 302789e..d826deb 100644 (file)
@@ -9,7 +9,7 @@ git-diff-helper - Generates patch format output for git-diff-*
 
 SYNOPSIS
 --------
-'git-diff-helper' [-z] [-R] [-M] [-C]
+'git-diff-helper' [-z] [-S<string>] [-O<orderfile>]
 
 DESCRIPTION
 -----------
@@ -21,21 +21,17 @@ OPTIONS
 -z::
        \0 line termination on input
 
--R::
-       Output diff in reverse.  This is useful for displaying output from
-       "git-diff-cache" which always compares tree with cache or working
-       file.  E.g.
+-S<string>::
+       Look for differences that contains the change in <string>.
 
-               git-diff-cache <tree> | git-diff-helper -R file.c
+--pickaxe-all::
+       When -S finds a change, show all the changes in that
+       changeset, not just the files that contains the change
+       in <string>.
 
-       would show a diff to bring the working file back to what
-       is in the <tree>.
-
--M::
-       Detect renames.
-
--C::
-       Detect copies as well as renames.
+-O<orderfile>::
+       Output the patch in the order specified in the
+       <orderfile>, which has one shell glob pattern per line.
 
 See Also
 --------