diff --git a/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf b/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf index 32c6b48d0..332fd327c 100644 --- a/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf +++ b/plinth/modules/gitweb/data/etc/gitweb-freedombox.conf @@ -40,6 +40,9 @@ $feature{'pickaxe'}{'default'} = [1]; # enable syntax highlighting $feature{'highlight'}{'default'} = [1]; +# do not recursively scan for Git repositories +our $project_maxdepth = 1; + # export private repos only if authorized our $per_request_config = sub { if(defined $ENV{'REMOTE_USER_TOKENS'}){