aboutsummaryrefslogtreecommitdiff
path: root/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc')
-rw-r--r--cgitrc68
1 files changed, 68 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
new file mode 100644
index 0000000..a4be584
--- /dev/null
+++ b/cgitrc
@@ -0,0 +1,68 @@
+# https://linux.die.net/man/5/cgitrc
+
+root-title=git.zue.dev
+root-desc=If it's on this site, I'm working on it.
+root-readme=/root-readme.html
+header=/header.html
+
+# enable commit graph on repo "log" page
+enable-commit-graph=1
+
+# disable showing owner of the repository
+enable-index-owner=0
+
+# enable printing the number of modified files for each commit on the repository log page
+enable-log-filecount=1
+
+# enable printing the number of added and removed lines for each commit on the repository log page
+enable-log-linecount=1
+
+# use git config to set any repo specific settings
+enable-git-config=1
+
+# enable showing remote branches
+enable-remote-branches=1
+
+# enable snapshot downloads
+snapshots=tar tar.gz tar.bz2 tar.xz zip
+
+# disable cache to make sure cgit always shows the latest changes
+cache-size=0
+
+scan-path=/srv/git
+
+# this has to be empty for cgit to work with a reverse proxy
+virtual-root=
+
+#
+# Search for these files in the root of the default branch of repositories
+# for coming up with the about page:
+#
+readme=:README.md
+readme=:readme.md
+readme=:README.mkd
+readme=:readme.mkd
+readme=:README.rst
+readme=:readme.rst
+readme=:README.html
+readme=:readme.html
+readme=:README.htm
+readme=:readme.htm
+readme=:README.txt
+readme=:readme.txt
+readme=:README
+readme=:readme
+readme=:INSTALL.md
+readme=:install.md
+readme=:INSTALL.mkd
+readme=:install.mkd
+readme=:INSTALL.rst
+readme=:install.rst
+readme=:INSTALL.html
+readme=:install.html
+readme=:INSTALL.htm
+readme=:install.htm
+readme=:INSTALL.txt
+readme=:install.txt
+readme=:INSTALL
+readme=:install \ No newline at end of file