From: https://christian.amsuess.com/chrysn Date: Sun, 15 Aug 2021 11:47:31 +0000 (+0000) Subject: Added a comment: annex-to-annex X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~87^2~91^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=69fc2a22b3781d77d7b093142f479e0368080e86;p=git-annex.git Added a comment: annex-to-annex --- diff --git a/doc/forum/Migrate_mark_files_dead/comment_2_a4512fb8a59f3a4d4ee85651a979f00f._comment b/doc/forum/Migrate_mark_files_dead/comment_2_a4512fb8a59f3a4d4ee85651a979f00f._comment new file mode 100644 index 0000000000..79f5494cb9 --- /dev/null +++ b/doc/forum/Migrate_mark_files_dead/comment_2_a4512fb8a59f3a4d4ee85651a979f00f._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="https://christian.amsuess.com/chrysn" + nickname="chrysn" + avatar="http://christian.amsuess.com/avatar/c6c0d57d63ac88f3541522c4b21198c3c7169a665a2f2d733b4f78670322ffdc" + subject="annex-to-annex" + date="2021-08-15T11:47:30Z" + content=""" +Thanks for the pointer, I was unaware of that tool. Indeed for local-only repositories, annex-to-annex avoids these troubles altogether. I suppose that with remotes, running annex-to-annex on all of them in a coordinated fashion does too. + +IIUC, the annex-to-annex-dropunused tool does similar cleanup to this, provided annex-to-annex was used in the first place. It seems not to mark these files as dead, so a `git annex fsck --all` will from thereon fail. +"""]]