This commit is contained in:
Joey Hess 2024-11-25 12:32:09 -04:00
parent 2917caaba3
commit aa2d543930
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,13 @@
`git-annex find --not --unused` is currently the same as `git-annex find
--unused` because `--unused` is not a file matching option. This is a bit
confusing.
And it would be useful to have a way to find all keys
that are not amoung the unused keys.
Given the implementation of `--not` is tied to file matching options,
it might be best to add a new option like `--used` or `--not-unused`.
It would also perhaps be good to detect when matching options are used that
don't make sense, and error out on commands like `git-annex find --not`
or `git-annex find -and -(`