We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 627bd75 commit 691e38fCopy full SHA for 691e38f
1 file changed
docs/usage.md
@@ -97,6 +97,16 @@ By default the library will attempt to use the `patch` binary and fall back to `
97
If you want to force using `git apply` for patches that are compatible only with `git` you can do so
98
with this parameter on patch level.
99
100
+#### `keep-empty-files` (bool, default: `false`)
101
+
102
+_Warning!_ This setting has effect only when using the `patch` method.
103
104
+By default the empty files will be removed by passing `--remove-empty-files` switch to the `patch` command.
105
106
+This allows to create patches which remove files.
107
108
+If you want to override this behaviour per-patch set this parameter to `true`.
109
110
# Notable use-cases
111
112
## Applying patches to root package (root project folder)
0 commit comments