From: Joey Hess Date: Mon, 9 May 2022 20:10:31 +0000 (-0400) Subject: followup X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~72^2~267 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3b83224e57329d502a815c96c5ccdb5450710340;p=git-annex.git followup --- diff --git a/doc/todo/command_to___34__migrate__34___from_adjusted_mode.mdwn b/doc/todo/command_to___34__migrate__34___from_adjusted_mode.mdwn index b007698801..d9a5db3987 100644 --- a/doc/todo/command_to___34__migrate__34___from_adjusted_mode.mdwn +++ b/doc/todo/command_to___34__migrate__34___from_adjusted_mode.mdwn @@ -3,3 +3,5 @@ Checking out `master` branch is not sufficient since `.git/annex/objects` uses d [[!meta author=yoh]] [[!tag projects/datalad]] + +[[!meta title="command to migrate object files from hashdirlower to hashdirmixed"]] diff --git a/doc/todo/command_to___34__migrate__34___from_adjusted_mode/comment_3_4375a63a864306c39323fa4b159425d6._comment b/doc/todo/command_to___34__migrate__34___from_adjusted_mode/comment_3_4375a63a864306c39323fa4b159425d6._comment new file mode 100644 index 0000000000..97837f45ba --- /dev/null +++ b/doc/todo/command_to___34__migrate__34___from_adjusted_mode/comment_3_4375a63a864306c39323fa4b159425d6._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2022-05-09T19:54:35Z" + content=""" +Ok, so the object location usually used in bare repositories.. + +One way that could happen is if core.symlinks=false and +annex.crippledfilesystem=true. Then it does use the bare form of object +filenames, which is kind of ok since it's not going to be using symlinks in +that repository. + +Also, before 2016, git-annex used those names whenever annex.crippledfilesystem=true, +no matter what core.symlinks was set to. So if the files are that old.. + +This does seem to point to there needing to be a way to migrate the object +files in a repository to the right names. It might be a reasonable thing +for git-annex fsck to do, when it sees a symlink to an object file that +is in the other location. +"""]]