X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-diff-helper.txt;h=29c5967d138b2436dbf7a64784b3b823f3368f37;hb=ce30a4b68ac220a2322dfe2a182194910143fafd;hp=f879ed98925033763263f1f9f38b514aa1d16346;hpb=902b92e00e491a60d55c4b2bce122903b8347f34;p=git.git diff --git a/Documentation/git-diff-helper.txt b/Documentation/git-diff-helper.txt index f879ed98..29c5967d 100644 --- a/Documentation/git-diff-helper.txt +++ b/Documentation/git-diff-helper.txt @@ -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] [-O] DESCRIPTION ----------- @@ -21,14 +21,12 @@ 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:: + Look for differences that contains the change in . - git-diff-cache | git-diff-helper -R file.c - -would show a diff to bring the working file back to what is in the . +-O:: + Output the patch in the order specified in the + , which has one shell glob pattern per line. See Also -------- @@ -37,7 +35,8 @@ The section on generating patches in link:git-diff-cache.html[git-diff-cache] Author ------ -Written by Linus Torvalds +Written by Junio C Hamano + Documentation --------------