mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 10:03:15 -05:00
Adds logging for git location
This commit is contained in:
@@ -56,6 +56,7 @@ export default class Git {
|
||||
|
||||
static async repoPath(cwd: string, gitPath?: string) {
|
||||
git = await findGitPath(gitPath);
|
||||
Logger.log(`Git found: ${git.version} @ ${git.path === 'git' ? 'PATH' : git.path}`);
|
||||
|
||||
let data = await gitCommand(cwd, 'rev-parse', '--show-toplevel');
|
||||
data = data.replace(/\r?\n|\r/g, '').replace(/\\/g, '/');
|
||||
|
||||
Reference in New Issue
Block a user