diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-16 01:03:41 -0200 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-16 01:03:41 -0200 |
| commit | a69f6dca25a34b0dc287e757c0a1df5fda9fa2f2 (patch) | |
| tree | d7795754205aabfc4478f5ab5f71e802dfd54287 /src | |
| parent | 304987887671d67181846b9d321cd91d54840ed8 (diff) | |
| download | luarocks-a69f6dca25a34b0dc287e757c0a1df5fda9fa2f2.tar.gz luarocks-a69f6dca25a34b0dc287e757c0a1df5fda9fa2f2.tar.bz2 luarocks-a69f6dca25a34b0dc287e757c0a1df5fda9fa2f2.zip | |
Fix documentation. Thanks @ignacio!
Diffstat (limited to 'src')
| -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") |
