You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
5 years ago
..
comments Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
externalaccount Allow externalID to be UUID (#8551) (#8624) 5 years ago
gitdiff Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
issue Move change issue title from models to issue service package (#8456) 5 years ago
mailer Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 5 years ago
milestone move some milestone functions to a standalone package (#8213) 5 years ago
mirror Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
pull Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
release Add Close() method to gogitRepository (#8901) (#8956) 5 years ago