Cleanup RPC should remove old tmp_ files in objects/pack
If git gc
or git repack
gets interrupted (by OOM killer?) it can leave behind large tmp_*
files in the objects/pack directory of a repo. This can waste a lot of disk space.
I think it would be good if the Cleanup RPC, which already looks for stale lock files, also looks for stale tmp_
files and deletes them.