]> source.dussan.org Git - jgit.git/commit
Add in-memory updating support to NoteMap 51/1851/5
authorShawn O. Pearce <spearce@spearce.org>
Fri, 5 Nov 2010 00:50:48 +0000 (17:50 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 12 Nov 2010 22:01:24 +0000 (14:01 -0800)
commitfaa0747cce9826137b3841661a5b745030fb55fe
tree9ee7142f87d07d29685b7f6fc2149047a22b1716
parent5a2cbd4aa7b442ca0622ad81357258e8ea55e927
Add in-memory updating support to NoteMap

NoteMap now supports editing in-memory, allowing applications to
modify the NoteMap once it has been loaded from the branch.  The
ability to write the branch back to tree objects is not yet done,
so the edits are strictly transient.

Change-Id: I63448954abfca2a8e3e95369cd84c0d1176cdb79
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/notes/LeafBucketTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/notes/NoteMapTest.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/FanoutBucket.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/LeafBucket.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteBucket.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMap.java