From 723ba6c1ff41bcd12b679302b3a0776540e454a4 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 29 Oct 2026 13:31:07 -1000 Subject: Offer the versions as an option enable-version-info brings back the cgit and git versions that 3a00e19 took off the footer and the generator tag, for a site that wants them, and the version 2a6726a put on the signature of patches now follows it too. It stays off by default for the reason 3a00e19 gave. --- custom/cgitrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'custom/cgitrc') 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