Implements first iteration of multi diff editors.

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
This commit is contained in:
Henning Dieterichs
2023-11-07 16:49:15 +01:00
parent 93351c7436
commit 090fd2c772
35 changed files with 914 additions and 14 deletions

View File

@@ -1658,6 +1658,10 @@ export class Repository implements Disposable {
return await this.repository.getCommit(ref);
}
async getCommitFiles(ref: string): Promise<string[]> {
return await this.repository.getCommitFiles(ref);
}
async getCommitCount(range: string): Promise<{ ahead: number; behind: number }> {
return await this.run(Operation.RevList, () => this.repository.getCommitCount(range));
}