File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,16 @@ By default the library will attempt to use the `patch` binary and fall back to `
9797If you want to force using ` git apply ` for patches that are compatible only with ` git ` you can do so
9898with this parameter on patch level.
9999
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+
100110# Notable use-cases
101111
102112## Applying patches to root package (root project folder)
You can’t perform that action at this time.
0 commit comments