diff options
-rw-r--r-- | distrib/gitblit.properties | 10 | ||||
-rw-r--r-- | src/com/gitblit/GitBlit.java | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 8b0027ef..4e2965fd 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -17,11 +17,6 @@ git.exportAll = true # e.g. /libraries/mylibrary.git
git.nestedRepositories = true
-# Show other URLs on the summary page for accessing your git repositories
-# Use spaces to separate urls. {0} is the token for the repository name.
-# git.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0}
-git.otherUrls =
-
#
# Authentication Settings
#
@@ -71,6 +66,11 @@ web.useClientTimezone = false web.datestampShortFormat = yyyy-MM-dd
web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z
+# Show other URLs on the summary page for accessing your git repositories
+# Use spaces to separate urls. {0} is the token for the repository name.
+# web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0}
+web.otherUrls =
+
# Choose how to present the repositories list.
# grouped = group nested/subfolder repositories together (no sorting)
# flat = flat list of repositories (sorting allowed)
diff --git a/src/com/gitblit/GitBlit.java b/src/com/gitblit/GitBlit.java index 9d06f35a..9dd3a9e5 100644 --- a/src/com/gitblit/GitBlit.java +++ b/src/com/gitblit/GitBlit.java @@ -93,7 +93,7 @@ public class GitBlit implements ServletContextListener { public List<String> getOtherCloneUrls(String repositoryName) {
List<String> cloneUrls = new ArrayList<String>();
- for (String url : storedSettings.getStrings(Keys.git.otherUrls)) {
+ for (String url : storedSettings.getStrings(Keys.web.otherUrls)) {
cloneUrls.add(MessageFormat.format(url, repositoryName));
}
return cloneUrls;
|