Browse Source

Removes dead code

main
Eric Amodio 6 years ago
parent
commit
664f7455db
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      src/gitService.ts

+ 0
- 8
src/gitService.ts View File

@ -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`);

Loading…
Cancel
Save