]> dgit.raspbian.org Git - git-annex.git/commit
clean empty object directories after deleting content lock file
authorJoey Hess <joeyh@joeyh.name>
Thu, 13 Jan 2022 18:19:36 +0000 (14:19 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 13 Jan 2022 18:22:37 +0000 (14:22 -0400)
commit86e5ffe34ac865a431f196635db462ff110f832c
tree4c4563221c5af73d084cb52d5603400129614082
parente28d1d03259d208c7e56c201e2c48aebac5adf74
clean empty object directories after deleting content lock file

When dropping content, this was already done after deleting the content
file, but the lock file prevents deleting the directories. So, try the
deletion again.

This does mean there's a small added overhead of a failed rmdir().

Sponsored-by: Dartmouth College's Datalad project
Annex/Content.hs