3ab4eb9e6eb2ce84fedacbae7d0bb4ccc8296dc4
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 29"""
4  date="2021-06-14T16:32:38Z"
5  content="""
6 @yarik no, it needs to check all files. Consider what happens when `foo` is
7 an annexed link to key K, which is not present, and you copy 
8 `.git/annex/objects/../K` from some other repo and run `git annex add K`
9 (or reinject, or get, it's all the same) -- `foo` now points to the content
10 of K. The same needs to also hold true for unlocked files, and so it has to
11 check if `foo` is an unlocked pointer to K and populate the file with the
12 content. Repeat for all the other 9999 files..
13 """]]