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'