1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 05:34:25 +00:00
gitea/docs/content/doc/advanced
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
..
api-usage.en-us.md Add documentation for OTP/2FA header in API for basic auth (#6872) 2019-05-07 16:53:45 -04:00
api-usage.zh-cn.md Adapt documentation to renamed ENABLE_SWAGGER option (#5811) 2019-01-23 20:09:18 +00:00
config-cheat-sheet.en-us.md Make captcha and password optional for external accounts (#6606) 2019-07-06 15:48:02 -04:00
config-cheat-sheet.zh-cn.md when git version >= 2.18, git command could run with git wire protocol version 2 param if enabled (#7047) 2019-05-26 17:50:06 +08:00
customizing-gitea.en-us.md Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 2019-04-29 14:08:21 -04:00
customizing-gitea.zh-cn.md Fix translation errors in doc advanced part (zh-cn) (#5112) 2018-12-23 18:57:49 +08:00
external-renderers.en-us.md Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
hacking-on-gitea.en-us.md add 'npm' and 'npm-update' make targets and lockfile (#7246) 2019-06-18 22:59:47 -04:00
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
logging-documentation.en-us.md Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00
make.en-us.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
make.fr-fr.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
make.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
migrations.en-us.md Add Close() method to gogitRepository (#8901) (#8958) 2019-11-13 18:51:33 +00:00
oauth2-provider.md Add oauth2 documentation (#6604) 2019-04-14 10:42:11 +02:00
specific-variables.en-us.md Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
specific-variables.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
third-party-tools.en-us.md Update third-party-tools.en-us.md (#6301) 2019-03-11 19:35:18 +08:00