From 2f0e0051f86b8b66c869e27907ace387f0f52f71 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Mar 06 2011 16:38:32 +0000 Subject: Update example cgitrc --- diff --git a/cgit.spec b/cgit.spec index f556bdb..b82378a 100644 --- a/cgit.spec +++ b/cgit.spec @@ -101,6 +101,7 @@ rm -rf %{buildroot} - Generate and install man page and html docs - Use libcurl-devel on RHEL >= 6 - Include example filter scripts +- Update example cgitrc * Tue Feb 08 2011 Fedora Release Engineering - 0.8.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/cgitrc b/cgitrc index d3f811a..23b6b86 100644 --- a/cgitrc +++ b/cgitrc @@ -1,5 +1,5 @@ # -# See /usr/share/doc/cgit-*/cgitrc.5.txt for details +# See cgitrc(5) or /usr/share/doc/cgit-*/cgitrc.5.html for details # # Enable caching of up to 1000 output entries @@ -14,6 +14,9 @@ css=/cgit-data/cgit.css # Show extra links for each repository on the index page enable-index-links=1 +# Enable ASCII art commit history graph on the log pages +enable-commit-graph=1 + # Show number of affected files per commit on the log pages enable-log-filecount=1 @@ -26,6 +29,9 @@ enable-log-linecount=1 # Use a custom logo logo=/cgit-data/cgit.png +# Enable statistics per week, month and quarter +max-stats=quarter + # Set the title and heading of the repository index page #root-title=example.com git repositories @@ -39,9 +45,24 @@ logo=/cgit-data/cgit.png #snapshots=tar.gz tar.bz2 zip ## +## List of common mimetypes +## + +mimetype.gif=image/gif +mimetype.html=text/html +mimetype.jpg=image/jpeg +mimetype.jpeg=image/jpeg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml + +# Enable syntax highlighting (requires the highlight package) +#source-filter=/usr/libexec/cgit/filters/syntax-highlighting.sh + +## ## List of repositories. -## PS: Any repositories listed when repo.group is unset will not be -## displayed under a group heading +## PS: Any repositories listed when section is unset will not be +## displayed under a section heading ## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos') ## and included like this: ## include=/etc/cgitrepos