# cgitrc(5)
# Enable caching of html files to /var/cache/cgit (unit is objects).
# FIXME: caching breaks cloning via https.
#cache-size=1000
root-title=git.memzero.de
root-desc=private git repostitory
clone-url=https://git.memzero.de/$CGIT_REPO_URL ssh://git.memzero.de/$CGIT_REPO_URL git@git.memzero.de:$CGIT_REPO_URL
virtual-root=/
enable-blame=1
enable-git-config=1
enable-http-clone=1
enable-commit-graph=1
enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1
snapshots=tar.gz zip
# -- Cosmetics
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib/cgit/filters/about-formatting.sh
remove-suffix=1
section-from-path=1
# -- About page
# Global default files to look for to render the repos about page (first match taken).
#
# Leading colon means to search for file relative from remote HEAD
# (aka default branch).
# Cgit allows to specify a different refspec ([:) to render the
# about page, however this is mainly useful for repo specific settings.
readme=:README.md
readme=:README.txt
# -- Repositories
#
# Scan *scan-path* for repositories. Since *project-list* is specified before,
# only look for paths from the project list relative to the scan path.
project-list=/var/lib/git/projects.list
scan-path=/var/lib/git/repositories
]