1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-06 06:18:12 +00:00
Files
gitea/modules/context/repo.go
zeripath 6782a64a4a Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746)
* Defer closing the gitrepo until the end of the wrapped context functions (#15653)

Backport #15653

There was a mistake in #15372 where deferral of gitrepo close occurs before it should.

This PR fixes this.
2021-05-07 18:28:02 +02:00

27 KiB