From 2cb60351fb3730a0a240f4393bd5419d2ef0b143 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 4 Nov 2023 22:09:19 +0800 Subject: [PATCH] revert git apply --- .../private/action/require/impl/actions/patch_sources.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/private/action/require/impl/actions/patch_sources.lua b/xmake/modules/private/action/require/impl/actions/patch_sources.lua index 79446c0b320..5306fbb9af4 100644 --- a/xmake/modules/private/action/require/impl/actions/patch_sources.lua +++ b/xmake/modules/private/action/require/impl/actions/patch_sources.lua @@ -98,7 +98,7 @@ function _patch(package, patch_url, patch_hash) end -- apply the patch file - git.apply(patch_file, {gitdir = os.curdir()}) + git.apply(patch_file) end -- patch the given package