mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-11-14 11:09:12 +08:00
The underlying implementation of os.exec uses channels and goroutines. It is possible to have time-variant error values returned from Cmd.Wait depending on which comes first. Also, the git subcommand and options should be separated tokens. Fixes a flaky test in modules/git/command_test.go
7.6 KiB
7.6 KiB