gitweb: Disable snapshot feature

Closes: #2335.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Veiko Aasa 2023-04-08 10:18:41 +03:00 committed by James Valleroy
parent ee4c9db615
commit 53a5394942
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -40,6 +40,9 @@ $feature{'pickaxe'}{'default'} = [1];
# enable syntax highlighting
$feature{'highlight'}{'default'} = [1];
# disable snapshots
$feature{'snapshot'}{'default'} = [];
# do not recursively scan for Git repositories
our $project_maxdepth = 1;