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 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
5 years ago
..
admin.go Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source (#6681) 6 years ago
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source (#6681) 6 years ago
cert.go Add golangci (#6418) 6 years ago
cmd.go Move database settings from models to setting (#7806) 6 years ago
convert.go Move database settings from models to setting (#7806) 6 years ago
dump.go Move database settings from models to setting (#7806) 6 years ago
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 6 years ago
hook.go Attempt to fix hook problem (#7854) 6 years ago
keys.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 6 years ago
migrate.go Move database settings from models to setting (#7806) 6 years ago
serv.go Use gitea forked macaron (#7933) 6 years ago
web.go Use gitea forked macaron (#7933) 6 years ago
web_graceful.go Better logging (#6038) (#6095) 6 years ago
web_windows.go fix windows build broken by #416 8 years ago