]> source.dussan.org Git - jgit.git/commit
Add blob-data to utility method indexState() 16/1316/2
authorChristian Halstrick <christian.halstrick@sap.com>
Mon, 16 Aug 2010 16:44:26 +0000 (18:44 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 18 Aug 2010 23:50:43 +0000 (16:50 -0700)
commit07a1d17858cacb28f4aab9315845341de69c2c4f
tree03d424a84185290716e41a9c39cf68133254e6a4
parente02b68a8b7c407659995d09fec7044dc366e40a7
Add blob-data to utility method indexState()

indexState() encodes the complete state of the index
into one readable String. This helps to write tests
against the index. indexState() is enhanced to optionally
also contain the content of the files in the index.

Change-Id: Ie988f93768d864f4cbd55809a786bd5759fc24a5
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/AddCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RacyGitTests.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryTestCase.java