James Moger
2012-11-23 0040210c8290bf60b8b08437d18b6cc05e863f32
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) {