summaryrefslogtreecommitdiffabout
path: root/cgitrc
authorLars Hjemli <hjemli@gmail.com>2007-06-18 22:56:40 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-06-18 22:56:40 (UTC)
commit0d05bca502f4a5347fa629045aca97ba9b404acc (patch) (side-by-side diff)
treee11b6a3e183aab02824f83c51759b5d426a64a67 /cgitrc
parenta215bf4620113fcefb8dd3442bf3501bd648c463 (diff)
downloadcgit-0d05bca502f4a5347fa629045aca97ba9b404acc.zip
cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.tar.gz
cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.tar.bz2
Add setting to enable/disable extra links on index page
The summary/log/tree links displayed for each repository on the index page lost some of their purpose when the header menu was added, so this commit introduces the parameter 'enable-index-links' which must be set to 1 to enable these links. Suggested-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgitrc') (more/less context) (show whitespace changes)
-rw-r--r--cgitrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index 0f602e4..40877f8 100644
--- a/cgitrc
+++ b/cgitrc
@@ -1,38 +1,42 @@
##
## cgitrc: template for /etc/cgitrc
##
## Uncomment and set to 1 to deactivate caching of generated pages. Mostly
## usefull for testing.
#nocache=0
## Enable/disable snapshots by default. This can be overridden per repo
#snapshots=0
+## Enable/disable extra links to summary/log/tree per repo on index page
+#enable-index-links=0
+
+
## Enable/disable display of 'number of files changed' in log view
#enable-log-filecount=0
## Enable/disable display of 'number of lines changed' in log view
#enable-log-linecount=0
## Enable/disable display of HEAD shortlog in summary view. Set it to maximum
## number of commits that should be displayed
#summary-log=0
## Specify a root for virtual urls. This makes cgit generate urls like
##
## http://localhost/git/repo/log/?id=master
##
## instead of
##
## http://localhost/cgit/cgit.cgi?r=repo&p=log&id=master
##
## For this to work with apache, rewrite rules must be added to httpd.conf,
## possibly looking something like this:
##