all repos — cgit @ 4f6fb32f5881a093be4c2f41c72813b80404c569

a hyperfast web frontend for git written in c

Add a suggestion to the manpage

So that people wishing to use "enable-http-clone" don't have to find
out the correct settings on their own.

Signed-off-by: Přemysl Janouch <p.janouch@gmail.com>
Přemysl Janouch p.janouch@gmail.com
Wed, 11 Sep 2013 20:10:14 +0200
commit

4f6fb32f5881a093be4c2f41c72813b80404c569

parent

17e6a2af9d56be8da3ee197a446a1ac7eedae800

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M cgitrc.5.txtcgitrc.5.txt

@@ -133,8 +133,9 @@ overridden in repository-specific cgitrc files. Default value: none.

enable-http-clone:: If set to "1", cgit will act as an dumb HTTP endpoint for git clones. - If you use an alternate way of serving git repositories, you may wish - to disable this. Default value: "1". + You can add "http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL" to clone-url + to expose this feature. If you use an alternate way of serving git + repositories, you may wish to disable this. Default value: "1". enable-index-links:: Flag which, when set to "1", will make cgit generate extra links for