void (@NotNull CommitContext commitContext) { myNextCommitAmend = isAmendCommitMode(commitContext); myNextCommitSkipHook = isSkipHooks(commitContext); myNextCommitAuthor = getCommitAuthor(commitContext); myNextCommitAuthorDate = getCommitAuthorDate(commitContext); myNextCommitSignOff = isSignOffCommit(commitContext); myNextCleanupCommitMessage = GitCommitTemplateTracker.getInstance(myProject).exists(); }