From 73585e41e125318b6241424088e830dfc26e5593 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 19 Dec 2020 04:15:17 -0500 Subject: [PATCH] Adds more debug logging --- src/git/gitService.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/git/gitService.ts b/src/git/gitService.ts index b067ae1..9b6cca8 100644 --- a/src/git/gitService.ts +++ b/src/git/gitService.ts @@ -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) => `count=${repositoryTree.count()}`, + }, + }) private findRepositoryForPath( repositoryTree: TernarySearchTree, path: string,