gitea/modules/context
zeripath eedc0c8324
Defer closing the gitrepo until the end of the wrapped context functions (#15653)
There was a mistake in #15372 where deferral of gitrepo close occurs before it should.

This PR fixes this.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-06 01:30:25 +02:00
..
access_log.go
api_org.go
api_test.go
api.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
auth.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
captcha.go
context.go Use route rather than use thus reducing the number of stack frames (#15301) 2021-05-04 22:48:31 +01:00
csrf.go
form.go
org.go Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
pagination.go
permission.go
private.go
repo.go Defer closing the gitrepo until the end of the wrapped context functions (#15653) 2021-05-06 01:30:25 +02:00
response.go Prevent superfluous response.WriteHeader (#15456) 2021-04-14 14:57:18 +02:00
secret.go
xsrf_test.go
xsrf.go