extensions/git/src/repository.ts/Repository/revert
class Repository:	async revert(resources: Uri[]): Promise<void> {
		await this.run(Operation.RevertFiles, async () => {
			await this.repository.revert('HEAD', resources.map(r => r.fsPath));
			this.closeDiffEditors([...resources.length !== 0 ?
				resources.map(r => r.fsPath) :
				this.indexGroup.resourceStates.map(r => r.resourceUri.fsPath)], []);
		});
	}