From 1370d424a794ec191966b81f4f975161a38895dc Mon Sep 17 00:00:00 2001 From: Marcin Floryan <marcin.floryan@gmail.com> Date: Fri, 02 Nov 2012 17:03:49 -0400 Subject: [PATCH] A failure to download dependencies fails the build. Otherwise we proceed with lots of errors anyway. --- src/com/gitblit/utils/StringUtils.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/utils/StringUtils.java b/src/com/gitblit/utils/StringUtils.java index 02cc49f..325b529 100644 --- a/src/com/gitblit/utils/StringUtils.java +++ b/src/com/gitblit/utils/StringUtils.java @@ -427,6 +427,8 @@ public static int compareRepositoryNames(String r1, String r2) { // sort root repositories first, alphabetically // then sort grouped repositories, alphabetically + r1 = r1.toLowerCase(); + r2 = r2.toLowerCase(); int s1 = r1.indexOf('/'); int s2 = r2.indexOf('/'); if (s1 == -1 && s2 == -1) { -- Gitblit v1.9.1