James Moger
2012-11-28 b718540114103aaad2fd2554745fdb61d1e6cd17
src/com/gitblit/DownloadZipServlet.java
@@ -101,11 +101,16 @@
         if (!StringUtils.isEmpty(objectId)) {
            name += "-" + objectId;
         }
         Repository r = GitBlit.self().getRepository(repository);
         if (r == null) {
            error(response, MessageFormat.format("# Error\nFailed to find repository {0}", repository));
            return;
            if (GitBlit.self().isCollectingGarbage(repository)) {
               error(response, MessageFormat.format("# Error\nGitblit is busy collecting garbage in {0}", repository));
               return;
            } else {
               error(response, MessageFormat.format("# Error\nFailed to find repository {0}", repository));
               return;
            }
         }
         RevCommit commit = JGitUtils.getCommit(r, objectId);
         if (commit == null) {