fsck: avoid redundant checksum when transfer is Verified
authorJoey Hess <joeyh@joeyh.name>
Wed, 14 Apr 2021 17:22:54 +0000 (13:22 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 14 Apr 2021 17:22:54 +0000 (13:22 -0400)
commit5783a8d0814fdf23c7a00df06298d3c49c1d6b64
tree7efc5155bd5cbce51aaad6841fcb77c645a22c61
parent5ee14db037bc80ca7352dca009d30f09949ad460
fsck: avoid redundant checksum when transfer is Verified

When downloading content from a remote, if the content is able to be
verified during the transfer, skip checksumming it a second time.

Note that in this case, the fsck output does not include "(checksum)"
which it does when the checksumming is done separately from the download.

This commit was sponsored by Brock Spratlen on Patreon.
CHANGELOG
Command/Fsck.hs
doc/todo/Fsck_remote_files_in-flight/comment_1_1a70ae7c9821d664ddf72fd4c431be29._comment [new file with mode: 0644]