@Test
public void branchChangedLines_should_not_fail_with_patience_diff_algo() throws IOException {

  Path gitConfig = worktree.resolve(".git").resolve("config");
  Files.write(gitConfig, "[diff]\nalgorithm = patience\n".getBytes(StandardCharsets.UTF_8));
  Repository repo = FileRepositoryBuilder.create(worktree.resolve(".git").toFile());
  git = new Git(repo);
  assertThat(newScmProvider().branchChangedLines("master", worktree, Collections.singleton(Paths.get("file")))).isNull();
}