]> source.dussan.org Git - jgit.git/commit
Add insert(TreeFormatter) to ObjectInserter 30/2030/1
authorShawn O. Pearce <spearce@spearce.org>
Fri, 3 Dec 2010 21:02:15 +0000 (13:02 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 3 Dec 2010 21:03:12 +0000 (13:03 -0800)
commit8d4c95a64511951e98bc4c168a4e306fedc22165
tree9c0591fee70108fe92f06a992477a6eaf0e6a44c
parent9ad802c15b497042ab77bd5dd06618469aac828f
Add insert(TreeFormatter) to ObjectInserter

This makes usage of a TreeFormatter more similar to a CommitBuilder or
a TagBuilder: populate the formatter and pass to the ObjectInserter.

Change-Id: I5a45ef3a35cc73f4905a34bc6f6228510df8eb2c
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Reviewed-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheTree.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/TreeFormatter.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/FanoutBucket.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/LeafBucket.java