@Test
public void branchChangedLines_should_not_fail_if_there_is_no_merge_base() throws GitAPIException, IOException {

  createAndCommitFile("file-m1.xoo");
  git.checkout().setOrphan(true).setName("b1").call();
  createAndCommitFile("file-b1.xoo");
  Map<Path, Set<Integer>> changedLines = newScmProvider().branchChangedLines("master", worktree, Collections.singleton(Paths.get("")));
  assertThat(changedLines).isNull();
}