diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Split trailers out of the commit message
Diffstat (limited to 'custom')
-rw-r--r--custom/cgitrc19
1 file changed, 19 insertions, 0 deletions
diff --git a/custom/cgitrc b/custom/cgitrc
index 6de214f..7ba1e13 100644
--- a/custom/cgitrc
+++ b/custom/cgitrc
@@ -213,6 +213,11 @@ enable-remote-branches=0
# 1. Default is 0.
enable-subject-links=0
+# Split the trailer block, the Signed-off-by lines and their kin, off the end
+# of a commit message and show it as a table on the commit page. Values are 0
+# or 1. Default is 0.
+enable-trailers=0
+
# Allow /plain to serve HTML mimetypes instead of downgrading to text/plain.
# Values are 0 or 1. Default is 0.
enable-html-serving=0
@@ -274,6 +279,11 @@ enable-filter-overrides=0
# Default is none.
#email-filter=lua:/usr/local/lib/cgit/filters/email-gravatar.lua
+# Filter command used to format the value of a commit trailer when
+# enable-trailers is 1. The shipped filter links Fixes, Closes and URL values.
+# Value is a command optionally prefixed with exec or lua. Default is none.
+#trailer-filter=lua:/usr/local/lib/cgit/filters/link-trailers.lua
+
# Filter command used to format plaintext blobs in the tree view. The shipped
# filter uses the Scintillua lexers and needs lpeg, and missing either means
# plain uncolored text, not an error. Value is a command optionally prefixed
@@ -495,6 +505,10 @@ enable-plain-email=1
# global enable-subject-links value.
#repo.enable-subject-links=0
+# Per-repo override of enable-trailers. Values are 0 or 1. Default is the
+# global enable-trailers value.
+#repo.enable-trailers=0
+
# Per-repo override of enable-html-serving. Values are 0 or 1. Default is the
# global enable-html-serving value.
#repo.enable-html-serving=0
@@ -530,3 +544,8 @@ enable-plain-email=1
# enable-filter-overrides is 1. Value is a command. Default is the global
# email-filter value.
#repo.email-filter=lua:/usr/local/lib/cgit/filters/email-gravatar.lua
+
+# Per-repo override of the trailer-filter. Only honoured when
+# enable-filter-overrides is 1. Value is a command. Default is the global
+# trailer-filter value.
+#repo.trailer-filter=lua:/usr/local/lib/cgit/filters/link-trailers.lua