You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
5 years ago
..
admin.go Add Close() method to gogitRepository (#8901) (#8958) 5 years ago
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source (#6681) 5 years ago
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source (#6681) 5 years ago
cert.go Add golangci (#6418) 5 years ago
cmd.go Disallow empty titles (#5785) 5 years ago
convert.go Add command to convert mysql database from utf8 to utf8mb4 (#7144) 5 years ago
dump.go Change verbose flag in dump command to avoid colliding with global version flag (#6822) 5 years ago
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 5 years ago
hook.go Attempt to fix hook problem (#7856) 5 years ago
keys.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 5 years ago
migrate.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 5 years ago
serv.go cmd/serv: actually exit after fatal errors (#7460) 5 years ago
web.go Use certmanager provided TLSConfig for LetsEncrypt (#7229) 5 years ago
web_graceful.go Better logging (#6038) (#6095) 5 years ago
web_windows.go fix windows build broken by #416 8 years ago