From 76c1f21f1e265e16101d64ba3ef0e2fea6affc6d Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Tue, 29 Aug 2017 18:08:27 +0300 Subject: [PATCH] Make the comment more precise --- plugins/git4idea/src/git4idea/rebase/GitCommitEditingAction.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/rebase/GitCommitEditingAction.kt b/plugins/git4idea/src/git4idea/rebase/GitCommitEditingAction.kt index 73c7945f1429..039d260d0be8 100644 --- a/plugins/git4idea/src/git4idea/rebase/GitCommitEditingAction.kt +++ b/plugins/git4idea/src/git4idea/rebase/GitCommitEditingAction.kt @@ -60,7 +60,7 @@ abstract class GitCommitEditingAction : DumbAwareAction() { return } - // editing merge commit is not allowed + // editing merge commit or root commit is not allowed val parents = commit.parents.size if (parents != 1) { e.presentation.isEnabled = false