mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-25 08:43:36 +00:00
gitweb: Make globally configured features overridable per-repository
Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
7481aacd82
commit
6dd45779db
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user