Commit c846662d authored by Jacob Vosmaer's avatar Jacob Vosmaer

Rescue Git error messages from /dev/null

parent 577485de
......@@ -266,6 +266,8 @@ func gitCommand(env gitEnv, name string, args ...string) *exec.Cmd {
fmt.Sprintf("PATH=%s", os.Getenv("PATH")),
fmt.Sprintf("GL_ID=%s", env.GL_ID),
}
// If we don't do something with cmd.Stderr, Git errors will be lost
cmd.Stderr = os.Stderr
return cmd
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment