distributed migration for pull and sync --content
authorJoey Hess <joeyh@joeyh.name>
Fri, 8 Dec 2023 18:18:18 +0000 (14:18 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 8 Dec 2023 18:18:18 +0000 (14:18 -0400)
commit257f01729c219730d54d44fdef7a76eec409baca
treed489ff75394dcd852fcbb6588356cd9e979e79d8
parent4ed71b34dedfc45223cf965c4bce197af84e5192
distributed migration for pull and sync --content

pull, sync: When operating on content, automatically hard link objects
that have been migrated.

Added annex.syncmigrations config that can be set to false to prevent
pull and sync from migrating object content.

I think that true is a good default for this config, because it avoids
users having to re-download migrated content or learning about migration.
But, some users will surely not like it, whether because it does take some
time (especially for the first git-annex branch scan when there is a long
history), or because they want to deal with it manually, or because their
filesystem doesn't support hard links and they don't want it to copy
objects.

Sponsored-by: k0ld on Patreon
CHANGELOG
Command/Migrate.hs
Command/Sync.hs
Types/GitConfig.hs
doc/git-annex-migrate.mdwn
doc/git-annex-pull.mdwn
doc/git-annex.mdwn