From 638c9f565e16216b9b4f908719dcd3b0cfe44a40 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 31 Aug 2018 23:48:03 -0400 Subject: [PATCH] Adds logging for finding a new repository Removes start logging from isTracked --- src/gitService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gitService.ts b/src/gitService.ts index f525182..83f0935 100644 --- a/src/gitService.ts +++ b/src/gitService.ts @@ -1487,6 +1487,7 @@ export class GitService implements Disposable { 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); this._repositoryTree.set(rp, repo); @@ -1713,8 +1714,6 @@ export class GitService implements Disposable { cacheKey += `:${ref}`; } - Logger.log(`isTracked('${fileName}', '${repoPath}'${ref !== undefined ? `, '${ref}'` : ''})`); - let tracked = this._trackedCache.get(cacheKey); try { if (tracked !== undefined) {