forgejo/cmd
zeripath 722a7c902d
Add Close() method to gogitRepository (#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 07:01:19 +00:00
..
admin.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +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 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
hook.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
keys.go
migrate.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
serv.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
web.go Graceful fixes (#8645) 2019-10-23 16:32:19 +01:00
web_graceful.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
web_windows.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00