summaryrefslogtreecommitdiff
path: root/src/luarocks/fetch/git_https.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/fetch/git_https.lua')
-rw-r--r--src/luarocks/fetch/git_https.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/luarocks/fetch/git_https.lua b/src/luarocks/fetch/git_https.lua
new file mode 100644
index 0000000..67f8ad6
--- /dev/null
+++ b/src/luarocks/fetch/git_https.lua
@@ -0,0 +1,7 @@
+--- Fetch back-end for retrieving sources from Git repositories
+-- that use https:// transport. For example, for fetching a repository
+-- that requires the following command line:
+-- `git clone https://example.com/foo.git`
+-- you can use this in the rockspec:
+-- source = { url = "git+https://example.com/foo.git" }
+return require "luarocks.fetch.git_http"