.nf
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]
[<patch>...]
.fi
When showing the index information, do not munge paths, but use NUL terminated machine readable format\&. Without this flag, the pathnames output will have TAB, LF, and backslash characters replaced with \\t, \\n, and \\\\, respectively\&.
.TP
+\-p<n>
+Remove <n> leading slashes from traditional diff paths\&. The default is 1\&.
+
+.TP
\-\-apply
If you use any of the options marked “Turns off "apply"” above, git\-apply reads and outputs the information you asked without actually applying the patch\&. Give this flag after those flags to also apply the patch\&.