mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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
|
# enable git blame
|
||||||
$feature{'blame'}{'default'} = [1];
|
$feature{'blame'}{'default'} = [1];
|
||||||
|
$feature{'blame'}{'override'} = 1;
|
||||||
|
|
||||||
# enable pickaxe search
|
# enable pickaxe search
|
||||||
$feature{'pickaxe'}{'default'} = [1];
|
$feature{'pickaxe'}{'default'} = [1];
|
||||||
|
$feature{'pickaxe'}{'override'} = 1;
|
||||||
|
|
||||||
# enable syntax highlighting
|
# enable syntax highlighting
|
||||||
$feature{'highlight'}{'default'} = [1];
|
$feature{'highlight'}{'default'} = [1];
|
||||||
|
$feature{'highlight'}{'override'} = 1;
|
||||||
|
|
||||||
# disable snapshots
|
# disable snapshots
|
||||||
$feature{'snapshot'}{'default'} = [];
|
$feature{'snapshot'}{'default'} = [];
|
||||||
|
$feature{'snapshot'}{'override'} = 1;
|
||||||
|
|
||||||
# do not recursively scan for Git repositories
|
# do not recursively scan for Git repositories
|
||||||
our $project_maxdepth = 1;
|
our $project_maxdepth = 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user