From 76e14cd26815acefa9ed007b24e3c89c2d13558e Mon Sep 17 00:00:00 2001 From: Chase Miller Date: Tue, 24 Nov 2015 17:26:41 -0500 Subject: [PATCH] Added check for %USERPROFILE%\AppData\Local\Programs\Git path in init.bat. Installing from https://git-scm.com/download/win seems to put git in this directory. --- vendor/init.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/init.bat b/vendor/init.bat index 9b66cf5..53a0d3a 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -37,6 +37,8 @@ set "GIT_INSTALL_ROOT=%ProgramFiles%\Git" ) else if exist "%ProgramFiles(x86)%\Git" ( set "GIT_INSTALL_ROOT=%ProgramFiles(x86)%\Git" +) else if exist "%USERPROFILE%\AppData\Local\Programs\Git" ( + set "GIT_INSTALL_ROOT=%USERPROFILE%\AppData\Local\Programs\Git" ) else if exist "%CMDER_ROOT%\vendor\git-for-windows" ( set "GIT_INSTALL_ROOT=%CMDER_ROOT%\vendor\git-for-windows" )