# 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
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
\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