private static @NotNull GitLineHandler createRefResolveHandler(@NotNull Project project,
                                                                 @NotNull VirtualFile root,
                                                                 @NotNull @NonNls String reference) {
    GitLineHandler handler = new GitLineHandler(project, root, GitCommand.REV_LIST);
    handler.addParameters("--timestamp", "--max-count=1", reference);
    handler.endOptions();
    handler.setSilent(true);
    return handler;
  }
private static @NotNull GitLineHandler createRefResolveHandler(@NotNull Project project,
                                                                 @NotNull VirtualFile root,
                                                                 @NotNull @NonNls String reference)