Addresses #57 - adds warning if no diff.tool

This commit is contained in:
Eric Amodio
2017-04-01 02:48:53 -04:00
parent 3b195b6be2
commit 0c13050387
3 changed files with 19 additions and 1 deletions

View File

@@ -510,6 +510,12 @@ export class GitService extends Disposable {
return Git.normalizePath(fileName).toLowerCase();
}
async getConfig(key: string, repoPath?: string): Promise<string> {
Logger.log(`getConfig('${key}', '${repoPath}')`);
return await Git.config_get(key, repoPath);
}
getGitUriForFile(fileName: string) {
const cacheKey = this.getCacheEntryKey(fileName);
const entry = this._uriCache.get(cacheKey);