git-annex/Backend
Joey Hess 24af51e66d
git-annex unused --from remote skips its git-remote-annex keys
This turns out to only be necessary is edge cases. Most of the
time, git-annex unused --from remote doesn't see git-remote-annex keys
at all, because it does not record a location log for them.

On the other hand, git-annex unused does find them, since it does not
rely on the location log. And that's good because they're a local cache
that the user should be able to drop.

If, however, the user ran git-annex unused and then git-annex move
--unused --to remote, the keys would have a location log for that
remote. Then git-annex unused --from remote would see them, and would
consider them unused. Even when they are present on the special remote
they belong to. And that risks losing data if they drop the keys from
the special remote, but didn't expect it would delete git branches they
had pushed to it.

So, make git-annex unused --from skip git-remote-annex keys whose uuid
is the same as the remote.
2024-05-14 15:17:40 -04:00
..
VURL implement VURL to URL migration 2024-03-01 17:01:27 -04:00
External.hs startExternalAddonProcess add parameters 2024-04-17 13:09:10 -04:00
GitRemoteAnnex.hs git-annex unused --from remote skips its git-remote-annex keys 2024-05-14 15:17:40 -04:00
Hash.hs Merge branch 'master' into git-remote-annex 2024-05-10 14:20:36 -04:00
URL.hs implement URL to VURL migration 2024-03-01 16:42:02 -04:00
Utilities.hs annex.maxextensions configuration 2024-04-18 14:23:38 -04:00
Variety.hs add Backend.GitRemoteAnnex 2024-05-07 13:54:08 -04:00
VURL.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
WORM.hs implement URL to VURL migration 2024-03-01 16:42:02 -04:00