From 664f7455db0fc9987770cfd6de2807599a166c0b Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 25 Feb 2018 16:18:49 -0500 Subject: [PATCH] Removes dead code --- src/gitService.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gitService.ts b/src/gitService.ts index cf45986..1a92979 100644 --- a/src/gitService.ts +++ b/src/gitService.ts @@ -208,14 +208,6 @@ export class GitService extends Disposable { repositories.push(new Repository(folder, rp, false, anyRepoChangedFn, this._suspended)); } - // const uris = await workspace.findFiles(new RelativePattern(folder, '**/.git/HEAD')); - // for (const uri of uris) { - // const rp = await this.getRepoPathCore(path.resolve(path.dirname(uri.fsPath), '../'), true); - // if (rp !== undefined && rp !== rootPath) { - // repositories.push(new Repository(folder, rp, false, anyRepoChangedFn, this._suspended)); - // } - // } - const duration = process.hrtime(start); Logger.log(`Searching for repositories (depth=${depth}) in '${folderUri.fsPath}' took ${(duration[0] * 1000) + Math.floor(duration[1] / 1000000)} ms`);