Stash Fails To Start on Windows, Please add git version 1.7.6 or higher to the PATH
Symptoms
mysysGit is installed on Windows but Stash fails to start with the following message:
2012-07-10 14:31:33,656 ERROR [main] c.a.s.i.scm.PluginScmClientProvider git was not found on the PATH for Stash. Please add git version 1.7.6 or higher to the PATH and restart Stash.
Cause
The mysysGit installer modifies the environment variable %PATH% such that <...>\Git\cmd
precedes <...>\Git\bin
and Stash is currently configured to check for Git using "git version
" which calls <...>\Git\cmd\git.cmd
and fails. The following bug has been raised to correct the call:
- STASH-2536Getting issue details... STATUS
Resolution
Modify the %PATH% environment variable so the path <...>\Git\bin
comes before <...>\Git\cmd
.