mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-09 05:33:37 +08:00
651fe4bb7d
The recent PR adding orphaned checks to the LFS storage is not sufficient to completely GC LFS, as it is possible for LFSMetaObjects to remain associated with repos but still need to be garbage collected. Imagine a situation where a branch is uploaded containing LFS files but that branch is later completely deleted. The LFSMetaObjects will remain associated with the Repository but the Repository will no longer contain any pointers to the object. This PR adds a second doctor command to perform a full GC. Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
branches_test.go | ||
branches.go | ||
commit_status_test.go | ||
commit_status.go | ||
lfs_lock.go | ||
lfs.go | ||
main_test.go | ||
protected_tag_test.go | ||
protected_tag.go |