gitea/services/gitdiff
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
..
gitdiff.go Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
gitdiff_test.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
main_test.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00