private static boolean wasFileTouched(@NotNull Project project,
                                        @NotNull VirtualFile root,
                                        @NotNull GitFileRevision rev) throws VcsException {
    final GitLineHandler handler = new GitLineHandler(project, root, GitCommand.SHOW);
    handler.addParameters(rev.getHash());
    GitCommandResult result = Git.getInstance().runCommand(handler);
    result.throwOnError();

    return isFilePresentInOutput(root, rev.getPath(), result.getOutput());
  }
private static boolean wasFileTouched(@NotNull Project project,
                                        @NotNull VirtualFile root,
                                        @NotNull GitFileRevision rev)