0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-19 11:04:10 +01:00
gitea/modules/test
zeripath 722a7c902d
Add Close() method to gogitRepository ()
In investigating  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 
2019-11-13 07:01:19 +00:00
..
context_tests.go Add Close() method to gogitRepository () 2019-11-13 07:01:19 +00:00
utils.go Unit tests for routers/repo/issue_label () 2017-12-15 23:11:02 +02:00