mirror of https://github.com/go-gitea/gitea
remove unused call to $.HeadRepo in view_title template (#32317)
This is only populated in [`ParseCompareInfo`](https://github.com/search?q=repo%3Ago-gitea%2Fgitea%20%20.Data%5B%22HeadRepo%22%5D&type=code) which is called in two handlers: * [`CompareAndPullRequestPost`](pull/32307/head^29206fbb55f/routers/web/repo/pull.go (L1246)
) - a JSON post handler that doesn't render templates * [`CompareDiff`](9206fbb55f/routers/web/repo/compare.go (L706)
) - which can render `diff/box.tmpl` and `diff/compare.tmpl`
parent
feca8802b8
commit
1cd3f69859
Loading…
Reference in new issue