Convert author and comment on demand.
commit09661a12de58a0ac7fd866fdb1583cd8609b69c2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 3 Dec 2006 00:45:09 +0000 (3 01:45 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 3 Dec 2006 02:11:42 +0000 (2 21:11 -0500)
tree9c1982f75b669c1636a5eaab3cb50bd413cfbbda
parentbb9f20bd718c405553b0780e010805cb244175aa
Convert author and comment on demand.

This sppeds up reading commits a lot by only store the byte
array data when reading commits. For the eclipse plugin I only
need the tree to filter out which commits to display and I can
take the cost of converting the comments to string for the
very few commits to display. Only the displayed commits are actually
converted so this results in convertig author and comment information
for about five commits rather than 20,000 (in my repo).

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/Commit.java