From 6dd45779dbca5a194ac082988db6d2d0550b828f Mon Sep 17 00:00:00 2001 From: Veiko Aasa Date: Sat, 8 Apr 2023 10:29:29 +0300 Subject: [PATCH] gitweb: Make globally configured features overridable per-repository Signed-off-by: Veiko Aasa Reviewed-by: Sunil Mohan Adapa --- plinth/modules/gitweb/data/etc/gitweb-freedombox.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf b/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf index 386910f6e..9bed257f1 100644 --- a/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf +++ b/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf @@ -33,15 +33,19 @@ $feature{'pathinfo'}{'default'} = [1]; # enable git blame $feature{'blame'}{'default'} = [1]; +$feature{'blame'}{'override'} = 1; # enable pickaxe search $feature{'pickaxe'}{'default'} = [1]; +$feature{'pickaxe'}{'override'} = 1; # enable syntax highlighting $feature{'highlight'}{'default'} = [1]; +$feature{'highlight'}{'override'} = 1; # disable snapshots $feature{'snapshot'}{'default'} = []; +$feature{'snapshot'}{'override'} = 1; # do not recursively scan for Git repositories our $project_maxdepth = 1;