From e31a1a3473aeae6eb917cc14828ecb5fe343c8ea Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 12 Nov 2016 14:03:21 -0500 Subject: [PATCH] Adds logging for git location --- src/git/git.ts | 1 + 1 file changed, 1 insertion(+) 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, '/');