Run git as a cmd.exe subprocess as a workaround. In the long term
we should look into enabling QProcess to properly handle .bat and
.cmd files.
Reviewed-By: Ossi
Do not check for existence of the binary, breaks on Windows
due to .exe (and potentially paths). Use waitForStarted().
On this occasion, kill on timeout in case of password prompts.
Task: 248067
Details: Use --no-color where appropriate. Use a hack to remove color sequences from output for "status" since it does not support the option as of git 1.6.2.
RevBy: tba
Details: - as on windows some git commands take much longer it happens fairly often, that git timeouts.
- added a timeout value to the option to let the user choose maximum timeout value (minimum is 10 seconds, maximum 5 minutes)