Diff options
| -rw-r--r-- | MANUAL.txt | 7 | |
| -rw-r--r-- | custom/cgitrc | 3 |
2 files changed, 7 insertions, 3 deletions
@@ -130,8 +130,11 @@ clone-url:: commit-filter:: Specifies a command which will be invoked to format commit messages, for - example to link a bug tracker. A ready filter linking object names and - configurable text references ships as + example to link a bug tracker. It applies on the commit page alone, to + the subject, the message, any notes and the trailer values that + "trailer-filter" leaves to it. Every other page shows messages + unfiltered, the log page's expanded messages included. A ready filter + linking object names and configurable text references ships as custom/extensions/link-commits.lua. Default value: none. See also: "Filter API", "repo.commit-filter". diff --git a/custom/cgitrc b/custom/cgitrc index 884c737..4ed8e3f 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -290,7 +290,8 @@ trust-scan-config=0 #about-filter=lua:/usr/local/lib/cgit/filters/about-render.lua # Filter command used to format commit messages, for example to turn object -# names and issue numbers into links. Value is a command. Default is none. +# names and issue numbers into links. It runs on the commit page only. Value is +# a command. Default is none. #commit-filter=lua:/usr/local/lib/cgit/filters/link-commits.lua # Filter command used to format author and committer emails, for example to add |
