From 17c417dad5c7be28df4b6e1fd25ec56b484faaff Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 26 May 2011 17:22:03 -0400
Subject: [PATCH] Changed git.otherUrls to web.otherUrls.
---
src/com/gitblit/GitBlit.java | 2 +-
distrib/gitblit.properties | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties
index 8b0027e..4e2965f 100644
--- a/distrib/gitblit.properties
+++ b/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)
diff --git a/src/com/gitblit/GitBlit.java b/src/com/gitblit/GitBlit.java
index 9d06f35..9dd3a9e 100644
--- a/src/com/gitblit/GitBlit.java
+++ b/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;
--
Gitblit v1.9.1