1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 11:58:06 +08:00
Commit Graph

2 Commits

Author SHA1 Message Date
zeripath
3497efac4a
Add Close() method to gogitRepository () ()
Backport  

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 13:54:04 +00:00
Richard Mahn
cd96dee982 Fixes - API File Contents bug () 2019-06-29 16:51:10 -04:00