summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/models/RepositoryModel.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-09-30 17:20:15 -0400
committerJames Moger <james.moger@gitblit.com>2011-09-30 17:20:15 -0400
commit94750e9faea7e383db64df6d2ac4290eaa267770 (patch)
treebde723962baf325c17f946374df2df609756ece2 /src/com/gitblit/models/RepositoryModel.java
parentfd6ac68c0b1136182b5d713ec88ea94e26c4a76d (diff)
downloadgitblit-94750e9faea7e383db64df6d2ac4290eaa267770.tar.gz
gitblit-94750e9faea7e383db64df6d2ac4290eaa267770.zip
More Bootstrap improvements.
* Strip leading group name from repositories page. * Put topbars on all pages. * Properly sort repositories in all locations. * White Gitblit logo.
Diffstat (limited to 'src/com/gitblit/models/RepositoryModel.java')
-rw-r--r--src/com/gitblit/models/RepositoryModel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/gitblit/models/RepositoryModel.java b/src/com/gitblit/models/RepositoryModel.java
index e85fd6a5..d70866fb 100644
--- a/src/com/gitblit/models/RepositoryModel.java
+++ b/src/com/gitblit/models/RepositoryModel.java
@@ -22,6 +22,7 @@ import java.util.List;
import com.gitblit.Constants.AccessRestrictionType;
import com.gitblit.Constants.FederationStrategy;
+import com.gitblit.utils.StringUtils;
/**
* RepositoryModel is a serializable model class that represents a Gitblit
@@ -74,6 +75,6 @@ public class RepositoryModel implements Serializable, Comparable<RepositoryModel
@Override
public int compareTo(RepositoryModel o) {
- return name.compareTo(o.name);
+ return StringUtils.compareRepositoryNames(name, o.name);
}
} \ No newline at end of file