]> source.dussan.org Git - jgit.git/commit
Fix NPE on checkout of remote tracking branch 14/2614/1
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 28 Feb 2011 23:21:14 +0000 (00:21 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 28 Feb 2011 23:21:14 +0000 (00:21 +0100)
commit2fba1e65e1ce5070b56fe9ef3573a6bf7b5dcf3b
tree3ca2152c0f8b19933f6d6a8225f35f2a008b6c68
parentbda1e8fab901706d1b08ecb3915b35b02ffdd5ab
Fix NPE on checkout of remote tracking branch

Checkout of remote tracking branch failed when no local branch
existed. Also enhance RepositoryTestCase to enable checking index
state of another test repository.

Bug: 337695
Change-Id: Idf4c05bdf23b5161688818342b2bf9a45b49f479
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CheckoutCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryTestCase.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java