From 6ca8db83e765d4afda4b616ea7a918dcc1097d38 Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:45:21 +0200 Subject: [PATCH] Git - Disable undo last commit command while commit is in progress (#153739) Disable undo last commit command while commit is in progress --- extensions/git/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/git/package.json b/extensions/git/package.json index 3e706e0ec6a..acd208f3ac1 100644 --- a/extensions/git/package.json +++ b/extensions/git/package.json @@ -327,7 +327,8 @@ { "command": "git.undoCommit", "title": "%command.undoCommit%", - "category": "Git" + "category": "Git", + "enablement": "!commitInProgress" }, { "command": "git.checkout",