1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-30 10:58:27 +00:00
Files
gitea/services/pull/merge_prepare.go
Lunny Xiao 662a44d924 Fix merge panic (#35606)
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
2025-10-12 04:24:00 +02:00

12 KiB