We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e8eac commit f77b5e9Copy full SHA for f77b5e9
routers/web/repo/compare.go
@@ -407,6 +407,7 @@ func ParseCompareInfo(ctx *context.Context) *common.CompareInfo {
407
ctx.ServerError("RepositoryFromRequestContextOrOpen", err)
408
return nil
409
}
410
+ // if it's not the same git repo, the HeadGitRepo should be closed out of the function
411
} else {
412
ctx.NotFound(nil)
413
0 commit comments