mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-01 19:36:11 +01:00
To prevent potential bugs, the logic in #35543 makes `gitcmd.Command` panic when attempting to override stdout or stderr. Instead of using `PrepareCmd`, this PR now uses the WithXXX methods directly to avoid the panic. Fix #35603
8.5 KiB
8.5 KiB