James Moger
2012-10-28 e92c6d230b3a350749fdb9fa2150bb1773260b8c
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) {