mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-03 01:51:19 +02:00
Backport #34334 by @lunny The `ci.HeadGitRepo` was opened and closed in the function `ParseCompareInfo` but reused in the function `PrepareCompareDiff`. --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>