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
"scan-path", and must be defined prior, to augment repo-specific
settings. The keys gitweb.owner, gitweb.category, and gitweb.description
will map to the cgit keys repo.owner, repo.section, and repo.desc,
- respectivly. All git config keys that begin with "cgit." will be mapped
+ respectively. All git config keys that begin with "cgit." will be mapped
to the corresponding "repo." key in cgit. Default value: "0". See also:
scan-path, section-from-path.
value: "0".
noplainemail::
- If set to "1" showing full author email adresses will be disabled.
+ If set to "1" showing full author email addresses will be disabled.
Default value: "0".
noheader::
MACRO EXPANSION
---------------
-The following cgitrc options supports a simple macro expansion feature,
-where tokens prefixed with "$" are replaced with the value of a similary
+The following cgitrc options support a simple macro expansion feature,
+where tokens prefixed with "$" are replaced with the value of a similarly
named environment variable:
- cache-root
-------------------
....
-# Enable caching of up to 1000 output entriess
+# Enable caching of up to 1000 output entries
cache-size=1000
# Allow http transport git clone
-enable-git-clone=1
+enable-http-clone=1
# Show extra links for each repository on the index page
mimetype.svg=image/svg+xml
-# Highlight source code with python pygments-based highligher
+# Highlight source code with python pygments-based highlighter
source-filter=/var/www/cgit/filters/syntax-highlighting.py
# Format markdown, restructuredtext, manpages, text files, and html files