]> source.dussan.org Git - gitblit.git/commitdiff
Changed git.otherUrls to web.otherUrls.
authorJames Moger <james.moger@gitblit.com>
Thu, 26 May 2011 21:22:03 +0000 (17:22 -0400)
committerJames Moger <james.moger@gitblit.com>
Thu, 26 May 2011 21:22:03 +0000 (17:22 -0400)
distrib/gitblit.properties
src/com/gitblit/GitBlit.java

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