diff options
author | James Moger <james.moger@gitblit.com> | 2013-06-24 15:15:52 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-06-24 15:15:52 -0400 |
commit | 118805311f425b7d8876ff713276eedb8a917673 (patch) | |
tree | 04e51694d86971d92179e51749c4e414ed0c853e /src/main/java/com/gitblit/GitBlit.java | |
parent | 0e7971001bd50fc8911792dae91a7ccae302bd06 (diff) | |
download | gitblit-118805311f425b7d8876ff713276eedb8a917673.tar.gz gitblit-118805311f425b7d8876ff713276eedb8a917673.zip |
Fixed case-sensitivity bug in repository name enumeration
Diffstat (limited to 'src/main/java/com/gitblit/GitBlit.java')
-rw-r--r-- | src/main/java/com/gitblit/GitBlit.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/GitBlit.java b/src/main/java/com/gitblit/GitBlit.java index eabaa3f2..bcfebb53 100644 --- a/src/main/java/com/gitblit/GitBlit.java +++ b/src/main/java/com/gitblit/GitBlit.java @@ -1475,7 +1475,10 @@ public class GitBlit implements ServletContextListener { } // return sorted copy of cached list - List<String> list = new ArrayList<String>(repositoryListCache.keySet()); + List<String> list = new ArrayList<String>(); + for (RepositoryModel model : repositoryListCache.values()) { + list.add(model.name); + } StringUtils.sortRepositorynames(list); return list; } |