This commit is contained in:
Joey Hess 2022-07-28 12:15:07 -04:00
parent c8a2752345
commit 2bb42fa003
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="joey"
subject="""Re: Confirming all annexed files exist elsewhere?"""
date="2022-07-28T16:10:17Z"
content="""
@Dan `findref` never supported listing all keys either.
Yours is the best argument I've seen so far for wanting `find --all`.
But the fact that this command is about listing files, not keys, still
makes that seem out of scope for it.
Using `whereis` would certainly do what you want. Another option would
be to `untrust` the repository that you are going to be deleting, and then
run `fsck --all`. Although that would report potentially other problems
besides files that are only present in that repository.
Finally, there's the bare metal option, which is also the fastest:
`find .git/annex/objects -type f`
"""]]