From a69f6dca25a34b0dc287e757c0a1df5fda9fa2f2 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 16 Jan 2014 01:03:41 -0200 Subject: Fix documentation. Thanks @ignacio! --- src/luarocks/fetch/git_http.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 @@ ---- Fetch back-end for retrieving sources from local Git repositories. +--- Fetch back-end for retrieving sources from Git repositories +-- that use http:// transport. For example, for fetching a repository +-- that requires the following command line: +-- `git clone http://example.com/foo.git` +-- you can use this in the rockspec: +-- source = { url = "git+http://example.com/foo.git" } +-- Prefer using the normal git:// fetch mode as it is more widely +-- available in older versions of LuaRocks. module("luarocks.fetch.git_http", package.seeall) local git = require("luarocks.fetch.git") -- cgit v1.2.3-55-g6feb