mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-20 16:45:42 +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>