src/com/gitblit/utils/JGitUtils.java
@@ -559,6 +559,7 @@ } ObjectId entid = tw.getObjectId(0); FileMode entmode = tw.getFileMode(0); if (entmode != FileMode.GITLINK) { RevObject ro = rw.lookupAny(entid, entmode.getObjectType()); rw.parseBody(ro); ByteArrayOutputStream os = new ByteArrayOutputStream(); @@ -572,6 +573,7 @@ in.close(); content = os.toByteArray(); } } } catch (Throwable t) { error(t, repository, "{0} can't find {1} in tree {2}", path, tree.name()); } finally {