GitCommandResult (@NotNull GitRepository repository, @NotNull List<String> parameters, @NotNull String range) { final GitLineHandler diff = new GitLineHandler(repository.getProject(), repository.getRoot(), GitCommand.DIFF); diff.addParameters(parameters); diff.addParameters(range); diff.setStdoutSuppressed(true); diff.setStderrSuppressed(true); diff.setSilent(true); return runCommand(diff); }