]> source.dussan.org Git - jgit.git/commit
Discard object bodies when checking connectivity 44/1544/1
authorShawn O. Pearce <spearce@spearce.org>
Mon, 6 Sep 2010 18:36:08 +0000 (11:36 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 6 Sep 2010 18:36:08 +0000 (11:36 -0700)
commit6f385076e14effe6dcab8764b123178bd3d2c691
tree28ab39979e1ac66d70f531923ef2db5ff6d94e26
parent741659fed4e73b71693b408e137804b17e65f0cb
Discard object bodies when checking connectivity

Since we are only checking the links between objects we don't need
to hold onto commit messages after their headers have been parsed
by the walker.  Dropping them saves a bit of memory, which is always
good when accepting huge pack files.

Change-Id: I378920409b6acf04a35cdf24f81567b1ce030e36
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java