]> gitweb.ps.run Git - ps-cgit/blobdiff - cgitrc.5.txt
snapshot: support special value 'all' to enable all formats
[ps-cgit] / cgitrc.5.txt
index 9fcf445bef2df3cb226d2dffea85438e16ead17f..3bfacfa0e0a8829f8d1d0a7cd1c14f43015b387d 100644 (file)
@@ -141,6 +141,11 @@ embedded::
        suitable for embedding in other html pages. Default value: none. See
        also: "noheader".
 
        suitable for embedding in other html pages. Default value: none. See
        also: "noheader".
 
+enable-blame::
+       Flag which, when set to "1", will allow cgit to provide a "blame" page
+       for files, and will make it generate links to that page in appropriate
+       places. Default value: "0".
+
 enable-commit-graph::
        Flag which, when set to "1", will make cgit print an ASCII-art commit
        history graph to the left of the commit messages in the repository
 enable-commit-graph::
        Flag which, when set to "1", will make cgit print an ASCII-art commit
        history graph to the left of the commit messages in the repository
@@ -424,6 +429,7 @@ snapshots::
        Text which specifies the default set of snapshot formats that cgit
        generates links for. The value is a space-separated list of zero or
        more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip".
        Text which specifies the default set of snapshot formats that cgit
        generates links for. The value is a space-separated list of zero or
        more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip".
+       The special value "all" enables all snapshot formats.
        Default value: none.
 
 source-filter::
        Default value: none.
 
 source-filter::
@@ -594,6 +600,13 @@ repo.snapshots::
        restricted by the global "snapshots" setting. Default value:
        <snapshots>.
 
        restricted by the global "snapshots" setting. Default value:
        <snapshots>.
 
+repo.snapshot-prefix::
+       Prefix to use for snapshot links instead of the repository basename.
+       For example, the "linux-stable" repository may wish to set this to
+       "linux" so that snapshots are in the format "linux-3.15.4" instead
+       of "linux-stable-3.15.4".  Default value: <empty> meaning to use
+       the repository basename.
+
 repo.section::
        Override the current section name for this repository. Default value:
        none.
 repo.section::
        Override the current section name for this repository. Default value:
        none.
@@ -799,6 +812,10 @@ enable-http-clone=1
 enable-index-links=1
 
 
 enable-index-links=1
 
 
+# Enable blame page and create links to it from tree page
+enable-blame=1
+
+
 # Enable ASCII art commit history graph on the log pages
 enable-commit-graph=1
 
 # Enable ASCII art commit history graph on the log pages
 enable-commit-graph=1