diff options
author | James Moger <james.moger@gitblit.com> | 2012-08-10 17:46:11 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-08-10 17:46:11 -0400 |
commit | eb870fc034460c2bab69039b21049d332a002ca1 (patch) | |
tree | fa16e26f61469334e6bfb1353de283860686c129 /distrib | |
parent | 88fb67f6cfdef7a3d44691aca623d3486fec3655 (diff) | |
download | gitblit-eb870fc034460c2bab69039b21049d332a002ca1.tar.gz gitblit-eb870fc034460c2bab69039b21049d332a002ca1.zip |
Submodules support
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/gitblit.properties | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index a5a47b78..836ac05c 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -37,6 +37,18 @@ git.searchRecursionDepth = -1 # SINCE 1.0.1
git.searchExclusions =
+# List of regex url patterns for extracting a repository name when locating
+# submodules.
+# e.g. git.submoduleUrlPatterns = .*?://github.com/(.*) will extract
+# *gitblit/gitblit.git* from *git://github.com/gitblit/gitblit.git*
+# If no matches are found then the submodule repository name is assumed to be
+# whatever trails the last / character. (e.g. gitblit.git).
+#
+# SPACE-DELIMITED
+# CASE-SENSITIVE
+# SINCE 1.0.1
+git.submoduleUrlPatterns = .*?://github.com/(.*)
+
# 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://.
|