update chunk log after speculated chunks are verified to be present
authorJoey Hess <joeyh@joeyh.name>
Thu, 22 Oct 2020 17:37:09 +0000 (13:37 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 22 Oct 2020 17:37:09 +0000 (13:37 -0400)
commitb62e004c2ce66dbc7cca5847974e818a901379e2
tree940292438723720dc0feabd143f038e6e52cfa4a
parentdad4be97c2057db1ef3a13bb983d1701a90c9069
update chunk log after speculated chunks are verified to be present

Only done in checkPresentChunks, although retrieveChunks could also do
it. Does not seem necessary though, because git-annex never retrives
content without first checking if it's present AFAICR. And really this will
only be needed when using fsck. Puttting it here, rather than in fsck
avoids breaking an abstraction boundary, and is nice and inexpensive.
Remote/Helper/Chunked.hs
doc/bugs/fsck_--key_without___34__chunking__34___information_in_git-annex_does_not_try_chunks.mdwn