0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-16 20:16:33 +01:00

Remove unnecessary change

This commit is contained in:
Lunny Xiao 2025-05-11 17:10:08 -07:00
parent f77b5e9f4e
commit 324ed3263c
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -407,7 +407,6 @@ func ParseCompareInfo(ctx *context.Context) *common.CompareInfo {
ctx.ServerError("RepositoryFromRequestContextOrOpen", err)
return nil
}
// if it's not the same git repo, the HeadGitRepo should be closed out of the function
} else {
ctx.NotFound(nil)
return nil