Use sigaction and SA_RESTART in read-tree.c; add option in Makefile.
[git.git] / Documentation / git-apply.txt
index 51c7d47..75076b6 100644 (file)
@@ -10,7 +10,7 @@ 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]
          [<patch>...]
 
 DESCRIPTION
@@ -68,6 +68,10 @@ OPTIONS
        backslash characters replaced with `\t`, `\n`, and `\\`,
        respectively.
 
+-p<n>::
+       Remove <n> 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