Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builder: fix running git commands on Windows
Setting cmd.Env overrides the default of passing through the parent process' environment, which works out fine most of the time, except when it doesn't. For whatever reason, leaving out all the environment causes git-for-windows sh.exe subprocesses to enter an infinite loop of access violations during Cygwin initialization in certain environments (specifically, our very own dev container image). Signed-off-by: Cory Snider <csnider@mirantis.com>
- Loading branch information