X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/74b0db95560e4c11439d7e0e8016d1e8cd48cdda..3b86b44fc761cfa8b97c44bbbdd63c9fbf1127ed:/cgitrc diff --git a/cgitrc b/cgitrc index d45f9c2..eaa9ce3 100644 --- a/cgitrc +++ b/cgitrc @@ -8,6 +8,18 @@ #nocache=0 +## Enable/disable snapshots by default. This can be overridden per repo +#snapshots=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 + + ## Specify a root for virtual urls. This makes cgit generate urls like ## ## http://localhost/git/repo/log/?id=master @@ -43,16 +55,31 @@ #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ +## Url loaded when clicking a submodule link +#module-link=./?repo=%s&page=commit&id=%s + + +## Number of chars shown of repo description (in repolist view) +#max-repodesc-length=60 + + ## Number of chars shown of commit subject message (in log view) #max-message-length=60 +## Number of commits per page in log view +#max-commit-count=50 + + ## Root of cached output #cache-root=/var/cache/cgit +## Include another config-file +#include=/var/cgit/repolist + ## -## Time-To-Live settings: specifies how long (in minutes) different pages +## Time-To-Live settings: specifies how long (in minutes) different pages ## should be cached (0 for instant expiration, -1 for immortal pages) ## @@ -62,7 +89,7 @@ ## ttl for repo summary page #cache-repo-ttl=5 -## ttl for other dynamic pages +## ttl for other dynamic pages #cache-dynamic-ttl=5 ## ttl for static pages (addressed by SHA-1) @@ -77,3 +104,7 @@ #repo.desc=the caching cgi for git #repo.path=/pub/git/cgit #repo.owner=Lars Hjemli +#repo.snapshots=1 # override a sitewide snapshot-setting +#repo.enable-log-filecount=0 # override the default filecount setting +#repo.enable-log-linecount=0 # override the default linecount setting +#repo.module-link=/git/%s/commit/?id=%s # override the standard module-link