summaryrefslogtreecommitdiff
path: root/xmake/modules/devel/git/ls_remote.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-04-23 22:52:16 +0800
committerruki <[email protected]>2021-04-23 22:52:16 +0800
commitef17fec2bc80c6ec4ad537e74748762d18e92606 (patch)
tree942101eedb185802da7b29c948ed8fd14d501911 /xmake/modules/devel/git/ls_remote.lua
parent99a6f5326cecd709c2927b6f50efb59a9a50c4a0 (diff)
improve proxy to support mirror url
Diffstat (limited to 'xmake/modules/devel/git/ls_remote.lua')
-rw-r--r--xmake/modules/devel/git/ls_remote.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/devel/git/ls_remote.lua b/xmake/modules/devel/git/ls_remote.lua
index c736c85d9..78ee36197 100644
--- a/xmake/modules/devel/git/ls_remote.lua
+++ b/xmake/modules/devel/git/ls_remote.lua
@@ -58,7 +58,7 @@ function main(reftype, url)
-- use proxy?
local envs
- local proxy_conf = proxy.get(url)
+ local proxy_conf = proxy.config(url)
if proxy_conf then
envs = {ALL_PROXY = proxy_conf}
end