]> source.dussan.org Git - jgit.git/commit
TestRepository: Add a reset method to move HEAD around 01/43701/7
authorDave Borowitz <dborowitz@google.com>
Wed, 11 Mar 2015 22:21:48 +0000 (15:21 -0700)
committerDave Borowitz <dborowitz@google.com>
Thu, 12 Mar 2015 19:45:46 +0000 (12:45 -0700)
commitd79cadb3cf4bb26c01bc5d4795b05858bb25ef42
treeb2f1dc2c3997824401b867933adc9e2aa4a9fa86
parentc1d40caa320ff5b22beab97702acd6e39bb02c83
TestRepository: Add a reset method to move HEAD around

This flushed out a number of bugs in the way DfsRefUpdate, or at least
the InMemoryRepository implementation, processes symrefs. These have
been fixed, to an extent, in InMemoryRepository, but other
implementations may still suffer from these bugs.

Change-Id: Ifd12115a0060b9ff45a88d305b72f91ca0472f9a
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/junit/TestRepositoryTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.java