diff options
-rw-r--r-- | src/luarocks/fetch/git_http.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/luarocks/fetch/git_http.lua b/src/luarocks/fetch/git_http.lua index 19de70ab..b5fcd095 100644 --- a/src/luarocks/fetch/git_http.lua +++ b/src/luarocks/fetch/git_http.lua | |||
@@ -1,5 +1,12 @@ | |||
1 | 1 | ||
2 | --- Fetch back-end for retrieving sources from local Git repositories. | 2 | --- Fetch back-end for retrieving sources from Git repositories |
3 | -- that use http:// transport. For example, for fetching a repository | ||
4 | -- that requires the following command line: | ||
5 | -- `git clone http://example.com/foo.git` | ||
6 | -- you can use this in the rockspec: | ||
7 | -- source = { url = "git+http://example.com/foo.git" } | ||
8 | -- Prefer using the normal git:// fetch mode as it is more widely | ||
9 | -- available in older versions of LuaRocks. | ||
3 | module("luarocks.fetch.git_http", package.seeall) | 10 | module("luarocks.fetch.git_http", package.seeall) |
4 | 11 | ||
5 | local git = require("luarocks.fetch.git") | 12 | local git = require("luarocks.fetch.git") |