File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,16 @@ SYNOPSIS
13
13
[--apply] [--no-add] [--build-fake-ancestor=<file>] [-R | --reverse]
14
14
[--allow-binary-replacement | --binary] [--reject] [-z]
15
15
[-p<n>] [-C<n>] [--inaccurate-eof] [--recount] [--cached]
16
- [--ignore-space-change | --ignore-whitespace ]
16
+ [--ignore-space-change | --ignore-whitespace]
17
17
[--whitespace=(nowarn|warn|fix|error|error-all)]
18
18
[--exclude=<path>] [--include=<path>] [--directory=<root>]
19
19
[--verbose] [--unsafe-paths] [<patch>...]
20
20
21
21
DESCRIPTION
22
22
-----------
23
23
Reads the supplied diff output (i.e. "a patch") and applies it to files.
24
+ When running from a subdirectory in a repository, patched paths
25
+ outside the directory are ignored.
24
26
With the `--index` option the patch is also applied to the index, and
25
27
with the `--cached` option the patch is only applied to the index.
26
28
Without these options, the command applies the patch only to files,
You can’t perform that action at this time.
0 commit comments