From bb55f5aec092b22ee4b86152c0e0111df48eb34e Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 02 Aug 2012 15:53:51 -0400 Subject: [PATCH] Compile regex patterns once and use matches instead of find (issue 103) --- distrib/gitblit.properties | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index f06aaef..70718b6 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -27,6 +27,16 @@ # SINCE 1.0.1 git.searchRecursionDepth = -1 +# List of regex exclusion patterns to match against folders found in +# *git.repositoriesFolder*. +# Use forward slashes even on Windows!! +# e.g. test/jgit\.git +# +# SPACE-DELIMITED +# CASE-SENSITIVE +# SINCE 1.0.1 +git.searchExclusions = + # 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://. @@ -53,6 +63,14 @@ # SINCE 1.0.0 git.defaultAccessRestriction = NONE +# The default authorization control for new repositories. +# Valid values are AUTHENTICATED and NAMED +# AUTHENTICATED = any authenticated user is granted restricted access +# NAMED = only named users/teams are granted restricted access +# +# SINCE 1.0.1 +git.defaultAuthorizationControl = NAMED + # Number of bytes of a pack file to load into memory in a single read operation. # This is the "page size" of the JGit buffer cache, used for all pack access # operations. All disk IO occurs as single window reads. Setting this too large -- Gitblit v1.9.1