From 324ed3263c2d6a20cc278b6380bf5dab33ecaa47 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 11 May 2025 17:10:08 -0700 Subject: [PATCH] Remove unnecessary change --- routers/web/repo/compare.go | 1 - 1 file changed, 1 deletion(-) diff --git a/routers/web/repo/compare.go b/routers/web/repo/compare.go index 94e0c04394..8b99dd95da 100644 --- a/routers/web/repo/compare.go +++ b/routers/web/repo/compare.go @@ -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