Skip to content

Commit bc9c7c1

Browse files
authored
Git - Fix Commit action button enablement regression (microsoft#163405)
1 parent 395ce44 commit bc9c7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/git/src/actionButton.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export class ActionButtonCommand {
203203
this.state = {
204204
...this.state,
205205
HEAD: this.repository.HEAD,
206-
isMergeInProgress: this.repository.mergeInProgress,
206+
isMergeInProgress: this.repository.mergeGroup.resourceStates.length !== 0,
207207
isRebaseInProgress: !!this.repository.rebaseCommit,
208208
repositoryHasChangesToCommit: this.repositoryHasChangesToCommit()
209209
};

0 commit comments

Comments
 (0)