1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/services
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
..
comments Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
gitdiff Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
issue Move actions to notification (#8785) 2019-11-03 20:59:09 +00:00
mailer Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
mirror Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
pull Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
release Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repository Template Repositories (#8768) 2019-11-11 23:15:29 +08:00