git-annex/Remote/Helper
Joey Hess 31e1adc005
deal with unlocked files
P2P protocol version 1 adds VALID|INVALID after DATA; INVALID means the
file was detected to change content while it was being sent and so we
may not have received the valid content of the file.

Added new MustVerify constructor for Verification, which forces
verification even when annex.verify=false etc. This is used when INVALID
and in protocol version 0.

As well as changing git-annex-shell p2psdio, this makes git-annex tor
remotes always force verification, since they don't yet use protocol
version 1. Previously, annex.verify=false could skip verification when
using tor remotes, and let bad data into the repository.

This commit was sponsored by Jack Hill on Patreon.
2018-03-13 14:27:14 -04:00
..
Chunked
AWS.hs
Chunked.hs
Encryptable.hs
Export.hs refactor 2017-09-20 16:22:32 -04:00
Git.hs
Hooks.hs
Http.hs
Messages.hs
P2P.hs deal with unlocked files 2018-03-13 14:27:14 -04:00
ReadOnly.hs
Special.hs use total size from DATA 2018-03-12 21:46:58 -04:00
Ssh.hs make way for rsync progress output when it's enabled 2018-03-12 19:10:22 -04:00