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