From 17c417dad5c7be28df4b6e1fd25ec56b484faaff Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 26 May 2011 17:22:03 -0400 Subject: [PATCH] Changed git.otherUrls to web.otherUrls. --- distrib/gitblit.properties | 10 +++++----- 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 getOtherCloneUrls(String repositoryName) { List cloneUrls = new ArrayList(); - for (String url : storedSettings.getStrings(Keys.git.otherUrls)) { + for (String url : storedSettings.getStrings(Keys.web.otherUrls)) { cloneUrls.add(MessageFormat.format(url, repositoryName)); } return cloneUrls; -- 2.39.5