started migrate --update
authorJoey Hess <joeyh@joeyh.name>
Thu, 7 Dec 2023 19:50:52 +0000 (15:50 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 7 Dec 2023 19:50:52 +0000 (15:50 -0400)
commitf1ce15036fbcebeb26e52e61eea44e457434f065
tree6f0171fa8e342212c87878ae010610a69ada2d40
parentd06aee7ce0ccd60b51a2ede2694ea5e4330efc0d
started migrate --update

This is most of the way there, but not quite working.

The layout of migrate.tree/ needs to be changed to follow this approach.
git log will list all the files in tree order, so the new layout needs
to alternate old and new keys. Can that be done? git may not document
tree order, or may not preserve it here.

Alternatively, change to using git log --format=raw and extract
the tree header from that, then use
git diff --raw $tree:migrate.tree/old $tree:migrate.tree/new
That will be a little more expensive, but only when there are lots of
migrations.

Sponsored-by: Joshua Antonishen on Patreon
Annex/Branch.hs
Annex/Locations.hs
CHANGELOG
Command/Log.hs
Command/Migrate.hs
Git/Log.hs
Logs/Export.hs
Logs/Migrate.hs
doc/git-annex-migrate.mdwn