mirror of
https://github.com/Microsoft/vscode
synced 2024-07-02 15:59:00 +00:00
This reverts commit 5422f5f940
.
This commit is contained in:
parent
85f13f93f1
commit
64c1b1cc60
|
@ -2103,7 +2103,6 @@ export class CommandCenter {
|
|||
}
|
||||
}
|
||||
|
||||
if (!opts.amend) {
|
||||
// no changes, and the user has not configured to commit all in this case
|
||||
if (!noUnstagedChanges && noStagedChanges && !enableSmartCommit && !opts.all) {
|
||||
const suggestSmartCommit = config.get<boolean>('suggestSmartCommit') === true;
|
||||
|
@ -2135,7 +2134,6 @@ export class CommandCenter {
|
|||
opts = { ...opts, all: true };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// enable signing of commits if configured
|
||||
opts.signCommit = enableCommitSigning;
|
||||
|
|
Loading…
Reference in New Issue
Block a user