mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 22:41:44 +01: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.go | ||
branches_test.go | ||
commit_status.go | ||
commit_status_test.go | ||
lfs.go | ||
lfs_lock.go | ||
main_test.go | ||
protected_tag.go | ||
protected_tag_test.go |