1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-29 04:33:08 +00:00
forgejo/routers
zeripath 722a7c902d
Add Close() method to gogitRepository (#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 07:01:19 +00:00
..
admin Fix new user form for non-local users (#8826) 2019-11-04 21:10:37 +02:00
api/v1 Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Allow to add and remove all repositories to/from team. (#8867) 2019-11-09 08:39:37 +08:00
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
repo Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
routes Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
user Improve notification (#8835) 2019-11-12 16:33:34 +08: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) 2019-10-23 22:04:22 +01:00
init.go Move webhook to a standalone package under modules (#8747) 2019-11-01 22:51:22 +00:00
install.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +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