1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/cmd
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
..
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source () 2019-06-17 14:32:20 -04:00
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source () 2019-06-17 14:32:20 -04:00
admin.go Add Close() method to gogitRepository () () 2019-11-13 13:54:04 +00:00
cert.go Add golangci () 2019-06-12 15:41:28 -04:00
cmd.go Move database settings from models to setting () 2019-08-24 11:24:45 +02:00
convert.go Move database settings from models to setting () 2019-08-24 11:24:45 +02:00
dump.go Move database settings from models to setting () 2019-08-24 11:24:45 +02:00
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well () 2019-05-01 22:32:06 -04:00
hook.go Attempt to fix hook problem () 2019-08-14 12:25:05 +03:00
keys.go Make CustomPath, CustomConf and AppWorkPath configurable at build () 2019-04-29 14:08:21 -04:00
migrate.go Move database settings from models to setting () 2019-08-24 11:24:45 +02:00
serv.go Use gitea forked macaron () 2019-08-23 12:40:29 -04:00
web_graceful.go Better logging () () 2019-04-02 08:48:31 +01:00
web_windows.go fix windows build broken by 2016-12-31 17:16:02 +08:00
web.go Use gitea forked macaron () 2019-08-23 12:40:29 -04:00