[PATCH] New git-apply test cases for scanning forwards and backwards.
[git.git] / Documentation / git-diff-helper.txt
index f879ed9..d826deb 100644 (file)
@@ -1,5 +1,5 @@
 git-diff-helper(1)
-=======================
+==================
 v0.1, May 2005
 
 NAME
@@ -9,7 +9,7 @@ git-diff-helper - Generates patch format output for git-diff-*
 
 SYNOPSIS
 --------
-'git-diff-helper' [-z] [-R]
+'git-diff-helper' [-z] [-S<string>] [-O<orderfile>]
 
 DESCRIPTION
 -----------
@@ -21,14 +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>.
+-O<orderfile>::
+       Output the patch in the order specified in the
+       <orderfile>, which has one shell glob pattern per line.
 
 See Also
 --------
@@ -37,7 +40,8 @@ The section on generating patches in link:git-diff-cache.html[git-diff-cache]
 
 Author
 ------
-Written by Linus Torvalds <torvalds@osdl.org>
+Written by Junio C Hamano <junkio@cox.net>
+
 
 Documentation
 --------------