Make the comment more precise

This commit is contained in:
Kirill Likhodedov
2017-08-29 18:11:17 +03:00
parent 1185396f63
commit 76c1f21f1e
@@ -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