X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-apply.txt;h=1c64a1aa82648db90251816f1b75dbdc9e7186e3;hb=f0c979f4dbbb7d6d9565d945c540f0a5748f1b80;hp=626e281596c57d38b6df7bbf311494ee9c74da7f;hpb=27dedf0c3b78d1072fb5449149421284f9e5297b;p=git.git diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt index 626e2815..1c64a1aa 100644 --- a/Documentation/git-apply.txt +++ b/Documentation/git-apply.txt @@ -8,7 +8,11 @@ git-apply - Apply patch on a git index file and a work tree SYNOPSIS -------- -'git-apply' [--stat] [--numstat] [--summary] [--check] [--index] [--apply] [--no-add] [--index-info] [--allow-binary-replacement] [-z] [...] +[verse] +'git-apply' [--stat] [--numstat] [--summary] [--check] [--index] [--apply] + [--no-add] [--index-info] [--allow-binary-replacement] [-z] [-pNUM] + [--whitespace=] + [...] DESCRIPTION ----------- @@ -65,6 +69,10 @@ OPTIONS backslash characters replaced with `\t`, `\n`, and `\\`, respectively. +-p:: + Remove leading slashes from traditional diff paths. The + default is 1. + --apply:: If you use any of the options marked ``Turns off "apply"'' above, git-apply reads and outputs the @@ -90,6 +98,35 @@ OPTIONS result. This allows binary files to be patched in a very limited way. +--whitespace=