James Moger
2013-01-29 01e0b59d5d5c8933eef21e0842c1439084b3f936
src/com/gitblit/utils/IssueUtils.java
@@ -380,7 +380,7 @@
      String issuePath = getIssuePath(issueId);
      RevTree tree = JGitUtils.getCommit(repository, GB_ISSUES).getTree();
      byte[] content = JGitUtils
            .getByteContent(repository, tree, issuePath + "/" + attachment.id);
            .getByteContent(repository, tree, issuePath + "/" + attachment.id, false);
      attachment.content = content;
      attachment.size = content.length;
      return attachment;