From 579efd9fcc01e92278f8a2a42a39c52aa6a900a1 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Tue, 27 Oct 2026 18:35:45 -1000 Subject: Offer the versions as an option enable-version-info brings back the cgit and git versions that 872bd7c took off the footer and the generator tag, for a site that wants them, and the version f7d2b83 put on the signature of patches now follows it too. It stays off by default for the reason 872bd7c gave. --- custom/cgitrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'custom') diff --git a/custom/cgitrc b/custom/cgitrc index 569feb4..86f00aa 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -241,6 +241,12 @@ enable-html-serving=0 # Values are 0 or 1. Default is 1. enable-tree-linenumbers=1 +# Name the cgit and git versions in the page footer, the generator tag and +# the signature of patches. Exact versions help someone match a site against +# advisories, so they stay out unless asked for. Values are 0 or 1. Default +# is 0. +enable-version-info=0 + # List directories first, then files, in the tree page. Values are 0 or 1. # Default is 0. enable-tree-group-dirs=0 -- cgit 2.12.1