From 727924a8f21e00263133b8fcd1693b3de3fd14f9 Mon Sep 17 00:00:00 2001 From: anurse Date: Wed, 29 Apr 2015 16:08:43 -0700 Subject: [PATCH] change to us cmd to launch git on Windows --- build/_git.shade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/_git.shade b/build/_git.shade index 7495a598bb..6d34b212bf 100644 --- a/build/_git.shade +++ b/build/_git.shade @@ -1,5 +1,7 @@ default gitFolder='' -exec program='git' commandline='${gitCommand}' workingdir='${gitFolder}' +-// Use cmd to invoke git so that people who have git as a 'cmd' +exec program='cmd' commandline='/C git ${gitCommand}' workingdir='${gitFolder}' if='!IsMono' +exec program='git' commandline='${gitCommand}' workingdir='${gitFolder}' if='IsMono'