gitea/modules
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
..
auth Template Repositories (#8768) 2019-11-11 23:15:29 +08:00
avatar
base
cache
charset
context Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
convert Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
cron
generate
git Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
graceful Graceful fixes (#8645) 2019-10-23 16:32:19 +01:00
gzip
highlight
httplib
indexer Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
lfs Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
log
markup Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
metrics
migrations Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
minwinsvc
notification Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
options
password
pprof
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
process
public
recaptcha
references Enable punctuations ending mentions (#8889) 2019-11-09 17:12:05 -05:00
repofiles Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
search
secret
session
setting Auto-subscribe user to repository when they commit/tag to it (#7657) 2019-11-10 09:22:19 +00:00
ssh
structs Template Repositories (#8768) 2019-11-11 23:15:29 +08:00
sync
task Fix bug when migrate from API (#8631) 2019-11-08 17:21:00 -05:00
templates Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
test Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
timeutil
upload
user
util Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
validation
webhook Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00