X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-apply.txt;h=9cc7c74deab0251eba8e34daf2b3c718071bedfd;hb=e8dff6ba8b12db94b728ff4d0ebf65040de92c37;hp=51c7d47092010f4275d1de8f074e0cc28e1d5adc;hpb=92e802c6ccb96d1b5e8561b0a136d43d82253293;p=git.git diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt index 51c7d470..9cc7c74d 100644 --- a/Documentation/git-apply.txt +++ b/Documentation/git-apply.txt @@ -10,7 +10,8 @@ SYNOPSIS -------- [verse] 'git-apply' [--stat] [--numstat] [--summary] [--check] [--index] [--apply] - [--no-add] [--index-info] [--allow-binary-replacement] [-z] + [--no-add] [--index-info] [--allow-binary-replacement] [-z] [-pNUM] + [-CNUM] [--whitespace=] [...] DESCRIPTION @@ -68,6 +69,16 @@ OPTIONS backslash characters replaced with `\t`, `\n`, and `\\`, respectively. +-p:: + Remove leading slashes from traditional diff paths. The + default is 1. + +-C:: + Ensure at least lines of surrounding context match before + and after each change. When fewer lines of surrounding + context exist they all most match. By default no context is + ever ignored. + --apply:: If you use any of the options marked ``Turns off "apply"'' above, git-apply reads and outputs the @@ -93,6 +104,35 @@ OPTIONS result. This allows binary files to be patched in a very limited way. +--whitespace=