X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/74b0db95560e4c11439d7e0e8016d1e8cd48cdda..1b49de3c2c52e29c78f870826b6334abdadc0295:/cgitrc diff --git a/cgitrc b/cgitrc index d45f9c2..f217b39 100644 --- a/cgitrc +++ b/cgitrc @@ -8,6 +8,10 @@ #nocache=0 +## Enable/disable snapshots by default. This can be overridden per repo +#snapshots=0 + + ## Specify a root for virtual urls. This makes cgit generate urls like ## ## http://localhost/git/repo/log/?id=master @@ -43,6 +47,10 @@ #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 commit subject message (in log view) #max-message-length=60 @@ -77,3 +85,5 @@ #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.module-link=/git/%s/commit/?id=%s # override the standard module-link