This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/cmd
zeripath fb5af37b3e
Add Close() method to gogitRepository (#8901) (#8958)
Backport #8901 - Adjusted slightly for 1.9

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 18:51:33 +00:00
..
admin.go Add Close() method to gogitRepository (#8901) (#8958) 2019-11-13 18:51:33 +00:00
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source (#6681) 2019-06-17 14:32:20 -04:00
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source (#6681) 2019-06-17 14:32:20 -04:00
cert.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
cmd.go Disallow empty titles (#5785) 2019-01-21 13:45:32 +02:00
convert.go Add command to convert mysql database from utf8 to utf8mb4 (#7144) 2019-06-08 21:53:45 +08:00
dump.go Change verbose flag in dump command to avoid colliding with global version flag (#6822) 2019-05-01 21:36:09 +01: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 (#7856) 2019-08-14 17:43:02 +08:00
keys.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 2019-04-29 14:08:21 -04:00
migrate.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 2019-04-29 14:08:21 -04:00
serv.go cmd/serv: actually exit after fatal errors (#7460) 2019-07-14 12:02:22 +08:00
web.go Use certmanager provided TLSConfig for LetsEncrypt (#7229) 2019-06-17 13:33:55 -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