From 65f55eee1c41a9cdfec96dc4310efcc6e57df97f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 01 Aug 2012 09:48:06 -0400 Subject: [PATCH] Add recursion depth control for repository search (issue 103) --- distrib/gitblit.properties | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 4c4372e..f06aaef 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -21,6 +21,12 @@ # SINCE 0.5.0 git.searchRepositoriesSubfolders = true +# Maximum number of folders to recurse into when searching for repositories. +# The default value, -1, disables depth limits. +# +# SINCE 1.0.1 +git.searchRecursionDepth = -1 + # Allow push/pull over http/https with JGit servlet. # If you do NOT want to allow Git clients to clone/push to Gitblit set this # to false. You might want to do this if you are only using ssh:// or git://. -- Gitblit v1.9.1