|
@ -1487,6 +1487,7 @@ export class GitService implements Disposable { |
|
|
folder = { uri: Uri.file(rp), name: parts[parts.length - 1], index: this._repositoryTree.count() }; |
|
|
folder = { uri: Uri.file(rp), name: parts[parts.length - 1], index: this._repositoryTree.count() }; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Logger.log(`Repository found in '${rp}'`); |
|
|
repo = new Repository(folder, rp, false, this.onAnyRepositoryChanged.bind(this), this._suspended); |
|
|
repo = new Repository(folder, rp, false, this.onAnyRepositoryChanged.bind(this), this._suspended); |
|
|
this._repositoryTree.set(rp, repo); |
|
|
this._repositoryTree.set(rp, repo); |
|
|
|
|
|
|
|
@ -1713,8 +1714,6 @@ export class GitService implements Disposable { |
|
|
cacheKey += `:${ref}`; |
|
|
cacheKey += `:${ref}`; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Logger.log(`isTracked('${fileName}', '${repoPath}'${ref !== undefined ? `, '${ref}'` : ''})`); |
|
|
|
|
|
|
|
|
|
|
|
let tracked = this._trackedCache.get(cacheKey); |
|
|
let tracked = this._trackedCache.get(cacheKey); |
|
|
try { |
|
|
try { |
|
|
if (tracked !== undefined) { |
|
|
if (tracked !== undefined) { |
|
|