This commit is contained in:
Lunny Xiao committed 2025-05-11 17:07:18 -07:00
1 parent d1e8eac41e
commit f77b5e9f4e
1 file changed
+1
+1
View File
@@ -407,6 +407,7 @@ 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