fall back to checking lower case hash directories in normal repo
authorJoey Hess <joeyh@joeyh.name>
Thu, 15 Jul 2021 16:16:31 +0000 (12:16 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 15 Jul 2021 16:16:31 +0000 (12:16 -0400)
commitdd31fe7b9e44c42a3e0623cc06cd507bc60930ce
tree78fad182450bafdc279fd8556f7d99c608e84cc1
parentc3fb25c3177a60c4fdbc30e5cffb0c67357ca090
fall back to checking lower case hash directories in normal repo

Fix a bug that prevented getting content from a repository that started out
as a bare repository, or had annex.crippledfilesystem set, and was
converted to a non-bare repository.

This unfortunately means that inAnnex check gets slowed down by a stat call
in normal repos when the content is not present. Oh well, such is the cost
of backwards compatability with old mistakes.

Sponsored-by: Mark Reidenbach on Patreon
Annex/Locations.hs
CHANGELOG
doc/forum/Can__39__t_get_some_files_from_bare_repo/comment_1_ead60b63efb06249c99202631ef0b247._comment [new file with mode: 0644]