X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-diff-helper.txt;h=2036c6cc1b6abac359e567ae4e75297640e3e41f;hb=d6db01075b65da2b8584a0450619390893aae103;hp=f879ed98925033763263f1f9f38b514aa1d16346;hpb=902b92e00e491a60d55c4b2bce122903b8347f34;p=git.git diff --git a/Documentation/git-diff-helper.txt b/Documentation/git-diff-helper.txt index f879ed98..2036c6cc 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] [-R] [-M] [-C] [-S] DESCRIPTION ----------- @@ -28,7 +28,18 @@ OPTIONS git-diff-cache | git-diff-helper -R file.c -would show a diff to bring the working file back to what is in the . + 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. + +-S:: + Look for differences that contains the change in . + See Also -------- @@ -37,7 +48,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 --------------