James Moger
2011-05-26 17c417dad5c7be28df4b6e1fd25ec56b484faaff
Changed git.otherUrls to web.otherUrls.
2 files modified
12 ■■■■ changed files
distrib/gitblit.properties 10 ●●●● patch | view | raw | blame | history
src/com/gitblit/GitBlit.java 2 ●●● patch | view | raw | blame | history
distrib/gitblit.properties
@@ -17,11 +17,6 @@
# 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.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)
src/com/gitblit/GitBlit.java
@@ -93,7 +93,7 @@
    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;