]> source.dussan.org Git - jgit.git/commit
Expose disposeBody() on RevCommit and RevTag 85/47585/2
authorShawn Pearce <spearce@spearce.org>
Sun, 10 May 2015 17:42:09 +0000 (10:42 -0700)
committerShawn Pearce <spearce@spearce.org>
Sun, 10 May 2015 17:56:34 +0000 (10:56 -0700)
commite4e947049f60d72f766d90dff22b488cbe06ba95
tree6dadaa4505c25ffea7dc9e87d0388590fb3c6b43
parentca7daa5226d88c8533c2316e5bc8a66ea8a373c5
Expose disposeBody() on RevCommit and RevTag

Applications that use a commit message once and do not
need it again can free the body to save memory. Expose
the disposeBody() methods to support this and use it in
pgm.Log which only visits each commit once.

Change-Id: I4142a0749c24f15386ee7fb119934a0432234de3
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevCommit.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevTag.java