Ver código fonte

Adds more debug logging

main
Eric Amodio 4 anos atrás
pai
commit
73585e41e1
1 arquivos alterados com 6 adições e 0 exclusões
  1. +6
    -0
      src/git/gitService.ts

+ 6
- 0
src/git/gitService.ts Ver arquivo

@ -380,6 +380,7 @@ export class GitService implements Disposable {
if (Strings.normalizePath(p) === rootPath) continue;
Logger.log(cc, `searching in '${p}'...`);
Logger.debug(cc, `normalizedRepoPath=${Strings.normalizePath(p)}, rootPath=${rootPath}`);
const rp = await this.getRepoPathCore(p, true);
if (rp == null) continue;
@ -3190,6 +3191,11 @@ export class GitService implements Disposable {
return repo;
}
@debug({
args: {
0: (repositoryTree: TernarySearchTree<string, Repository>) => `count=${repositoryTree.count()}`,
},
})
private findRepositoryForPath(
repositoryTree: TernarySearchTree<string, Repository>,
path: string,

Carregando…
Cancelar
Salvar