mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Git - tweak git blame computation (#234386)
* Helper methods * Finished implementing the prototype * Command handled model creation/disposal * Cache staged resources diff information
This commit is contained in:
@@ -1786,8 +1786,8 @@ export class Repository implements Disposable {
|
||||
return await this.run(Operation.Blame(true), () => this.repository.blame(path));
|
||||
}
|
||||
|
||||
async blame2(path: string): Promise<BlameInformation[] | undefined> {
|
||||
return await this.run(Operation.Blame(false), () => this.repository.blame2(path));
|
||||
async blame2(path: string, ref?: string): Promise<BlameInformation[] | undefined> {
|
||||
return await this.run(Operation.Blame(false), () => this.repository.blame2(path, ref));
|
||||
}
|
||||
|
||||
@throttle
|
||||
|
||||
Reference in New Issue
Block a user