This commit is contained in:
João Moreno
2020-11-10 13:54:46 +01:00
parent ad88db1031
commit e8b69537cd
3 changed files with 14 additions and 8 deletions

View File

@@ -985,7 +985,7 @@ export class Repository implements Disposable {
await this.run(Operation.RevertFiles, () => this.repository.revert('HEAD', resources.map(r => r.fsPath)));
}
async commit(message: string, opts: CommitOptions = Object.create(null)): Promise<void> {
async commit(message: string | undefined, opts: CommitOptions = Object.create(null)): Promise<void> {
if (this.rebaseCommit) {
await this.run(Operation.RebaseContinue, async () => {
if (opts.all) {