Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Trim the enable-http-clone entry
-rw-r--r--MANUAL.txt18
1 file changed, 6 insertions, 12 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 0bdfee4..46e5c99 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -219,15 +219,11 @@ enable-html-serving::
"repo.enable-html-serving".
enable-http-clone::
- If set to "1", cgit acts as a dumb HTTP endpoint for git clones. Adding
- "http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL" to clone-url exposes it.
- The files it serves come straight off the disk and are never cached.
- Most sites can leave this as it is, though the dumb transport is git's
- older one and is not recommended. cgit does not speak the smart
- protocol git prefers, so a site that wants it routes clone requests to
- git-http-backend in its web server, and smart clients use that
- instead. A site that serves git repositories another way can turn this
- off. Default value: "1".
+ If set to "1", cgit acts as a dumb HTTP endpoint for git clones, which
+ adding "http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL" to clone-url
+ exposes. Its files are never cached. cgit does not speak the smart
+ protocol git prefers, which a site can offer by routing clone requests
+ to git-http-backend in its web server. Default value: "1".
enable-index-links::
Flag which, when set to "1", makes cgit generate extra links for each
@@ -925,9 +921,7 @@ All cache ttl values are in minutes. Negative ttl values indicate that a page
type will never expire, and thus the first time a URL is accessed, the result
will be cached indefinitely, even if the underlying git repository changes.
Conversely, when a ttl value is zero, the cache is disabled for that particular
-page type. The files of the dumb transport are never cached, since they already
-sit on the disk, and a response larger than "cache-max-slot-size" is served but
-not kept.
+page type. A response larger than "cache-max-slot-size" is served but not kept.
The cache directory holds one file per slot plus transient lock files, all
created by cgit itself. Create the directory ahead of time, owned by the account