1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-01 17:05:48 +00:00
gitea/services
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
..
comments Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
externalaccount Allow externalID to be UUID (#8551) (#8624) 2019-10-22 09:12:10 +01:00
gitdiff Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
issue Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
mailer Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
milestone move some milestone functions to a standalone package (#8213) 2019-09-18 08:17:12 +08:00
mirror Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
pull Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
release Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00