浏览代码

Removes dead code

main
Eric Amodio 6 年前
父节点
当前提交
664f7455db
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. +0
    -8
      src/gitService.ts

+ 0
- 8
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`);

正在加载...
取消
保存