summaryrefslogtreecommitdiff
path: root/xmake/modules/devel/git/apply.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/devel/git/apply.lua')
-rw-r--r--xmake/modules/devel/git/apply.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/devel/git/apply.lua b/xmake/modules/devel/git/apply.lua
index 46d3f8ca6..7ed356f5e 100644
--- a/xmake/modules/devel/git/apply.lua
+++ b/xmake/modules/devel/git/apply.lua
@@ -42,7 +42,7 @@ function main(patchfile, opt)
-- init argv
opt = opt or {}
- local argv = {"apply", "--reject", patchfile}
+ local argv = {"apply", "--reject", "--ignore-whitespace", patchfile}
-- enter repository directory
local oldir = nil