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 remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
AWS.hs S3: Support the special case endpoint needed for the cn-north-1 region. 2016-11-07 11:49:34 -04:00
Chunked.hs fix giveup shadowing 2016-11-16 00:28:10 -04:00
Encryptable.hs implement exporttree=yes configuration 2017-09-04 13:09:38 -04:00
Export.hs refactor 2017-09-20 16:22:32 -04:00
Git.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Hooks.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Http.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
Messages.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
P2P.hs deal with unlocked files 2018-03-13 14:27:14 -04:00
ReadOnly.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
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