James Moger
2012-08-07 749110b462b3147c6dfff076fb5d1bf0460a4f99
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 {