aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor/storage.go
Commit message (Collapse)AuthorAgeFilesLines
* Propagate context and ensure git commands run in request context (#17868)zeripath2022-01-191-1/+3
| | | | | | | | | This PR continues the work in #17125 by progressively ensuring that git commands run within the request context. This now means that the if there is a git repo already open in the context it will be used instead of reopening it. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Move attachment into models/repo/ (#17650)Lunny Xiao2021-11-191-2/+2
| | | | | | | * Move attachment into models/repo/ * Fix test * Fix bug
* Fix storage Iterate bug and Add storage doctor to delete garbage attachments ↵Lunny Xiao2021-09-061-0/+76
(#16971) * Fix storage Iterate bug and Add storage doctor to delete garbage attachments * Close object when used