diff --git a/src/git/git.ts b/src/git/git.ts index ef0e471..f4e60a6 100644 --- a/src/git/git.ts +++ b/src/git/git.ts @@ -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, '/');