@Override
    public boolean accept(@NotNull IntentionAction intentionAction, @Nullable PsiFile file) {
      return file == null || !isCommitMessage(file) || !(intentionAction instanceof EmptyIntentionAction);
    }
@Override
    public boolean accept(@NotNull IntentionAction intentionAction, @Nullable PsiFile file)