1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-22 19:25:47 +00:00
gitea/routers
zeripath 3497efac4a
Add Close() method to gogitRepository (#8901) (#8956)
Backport #8901 

In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.

This PR adds this Close function and adds the Close functions as necessary.

In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.

Fixes #7947
2019-11-13 13:54:04 +00:00
..
admin Fix new user form for non-local users (#8826) (#8828) 2019-11-05 08:19:32 +08:00
api/v1 Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Fix errors in create org UI regarding team access permission. (#8506) 2019-10-14 19:20:42 +01:00
private Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
repo Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
routes Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
user Backport: Fix password complexity check on registration (#8887) (#8888) 2019-11-09 11:52:54 +00:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Use AppSubUrl for more redirections (#8647) (#8651) 2019-10-23 18:27:10 -04:00
init.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
install.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00