X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-diff-helper.txt;h=29c5967d138b2436dbf7a64784b3b823f3368f37;hb=17ebe977d72290dcdc848b78ae2e65b59d4e1b4c;hp=302789e9d1cccba42d616b97fd4762f0bcf7fdd2;hpb=427dcb4bca49117664d9428fd4e86483f516d703;p=git.git diff --git a/Documentation/git-diff-helper.txt b/Documentation/git-diff-helper.txt index 302789e9..29c5967d 100644 --- a/Documentation/git-diff-helper.txt +++ b/Documentation/git-diff-helper.txt @@ -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] [-O] DESCRIPTION ----------- @@ -21,21 +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 . - --M:: - Detect renames. - --C:: - Detect copies as well as renames. +-O:: + Output the patch in the order specified in the + , which has one shell glob pattern per line. See Also --------