|
|
|
|
|
|
|
|
import org.eclipse.jgit.treewalk.TreeWalk; |
|
|
import org.eclipse.jgit.treewalk.TreeWalk; |
|
|
import org.eclipse.jgit.treewalk.filter.TreeFilter; |
|
|
import org.eclipse.jgit.treewalk.filter.TreeFilter; |
|
|
import org.eclipse.jgit.util.FS; |
|
|
import org.eclipse.jgit.util.FS; |
|
|
|
|
|
import org.junit.Ignore; |
|
|
import org.junit.Test; |
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Ignore("very flaky when run with Hudson") |
|
|
@Test |
|
|
@Test |
|
|
public void commitUpdatesSmudgedEntries() throws Exception { |
|
|
public void commitUpdatesSmudgedEntries() throws Exception { |
|
|
try (Git git = new Git(db)) { |
|
|
try (Git git = new Git(db)) { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Ignore("very flaky when run with Hudson") |
|
|
@Test |
|
|
@Test |
|
|
public void commitIgnoresSmudgedEntryWithDifferentId() throws Exception { |
|
|
public void commitIgnoresSmudgedEntryWithDifferentId() throws Exception { |
|
|
try (Git git = new Git(db)) { |
|
|
try (Git git = new Git(db)) { |