about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2013-09-11 20:10:14 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-08 16:48:02 +0100
commit4f6fb32f5881a093be4c2f41c72813b80404c569 (patch)
treec5c5bfc1ec9ef663019a15484bcca2800102bac0
parentFix the example configuration (diff)
downloadcgit-pink-4f6fb32f5881a093be4c2f41c72813b80404c569.tar.gz
cgit-pink-4f6fb32f5881a093be4c2f41c72813b80404c569.zip
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>
Diffstat (limited to '')
-rw-r--r--cgitrc.5.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 2c48081..52caed0 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -133,8 +133,9 @@ enable-filter-overrides::
 
 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