summaryrefslogtreecommitdiff
path: root/xmake/modules/devel/git/apply.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-15 17:58:51 +0800
committerGitHub <[email protected]>2020-09-15 17:58:51 +0800
commit0c4e3ec6428f762be3da95fdf1792a7287230eeb (patch)
treede6d873677844f1ac9d45de7f3c7948c716dadbb /xmake/modules/devel/git/apply.lua
parentb12caef38876cac6b31c7b96e7033464606022f4 (diff)
parentaaa29a3659d7b8a10c5196f5c035390045c9cf71 (diff)
Merge pull request #952 from Biobots/dev
fix patch apply issue
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