mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-16 00:51:40 +01: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>