mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 21:11:38 +01:00
SCM - Fixed a regression due to which post-commit commands were not being executed (#155824)
Fixed a regression due to which post-commit commands were not being executed
This commit is contained in:
@@ -1524,7 +1524,7 @@ export class CommandCenter {
|
||||
}
|
||||
|
||||
if (opts.all === undefined) {
|
||||
opts = { all: noStagedChanges };
|
||||
opts = { ...opts, all: noStagedChanges };
|
||||
} else if (!opts.all && noStagedChanges && !opts.empty) {
|
||||
opts = { ...opts, all: true };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user