1
mirror of https://github.com/rclone/rclone synced 2024-12-25 17:03:45 +01:00
rclone/fs/operations
Nick Craig-Wood 20b00db390 operations: fix spurious "--checksum is in use but the source and destination have no hashes in common"
Before this change rclone would emit the message

    --checksum is in use but the source and destination have no hashes in common; falling back to --size-only

When the source or destination hash was missing as well as when the
source and destination had no hashes in common.

This first case is very confusing for users when the source and
destination do have a hash in common.

This change fixes that and makes sure the error message is not emitted
on missing hashes even when there is a hash in common.

See: https://forum.rclone.org/t/source-and-destination-have-no-hashes-in-common-for-unencrypted-drive-to-local-sync/19531
2020-10-05 16:07:05 +01:00
..
check_test.go operations: factor Check and related functions into its own files 2020-07-21 22:08:13 +01:00
check.go accounting: add context to Account and propagate changes #3257 2020-07-28 16:41:17 +01:00
dedupe_test.go dedupe: Make it obey the --size-only flag for duplicate detection #4321 2020-07-28 11:40:37 +01:00
dedupe.go dedupe: Make it obey the --size-only flag for duplicate detection #4321 2020-07-28 11:40:37 +01:00
listdirsorted_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsjson.go lsjson: Add --hash-type parameter and use it in lsf to speed up hashing 2020-04-29 16:09:45 +01:00
multithread_test.go operations: fix multithread copy test to use the correct modify window 2020-02-25 13:30:35 +00:00
multithread.go accounting: add context to Account and propagate changes #3257 2020-07-28 16:41:17 +01:00
operations_internal_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
operations_test.go sync: fix --cutoff-mode soft & cautious so it doesn't end the transfer early 2020-09-09 12:53:21 +01:00
operations.go operations: fix spurious "--checksum is in use but the source and destination have no hashes in common" 2020-10-05 16:07:05 +01:00
rc_test.go rc: fix rc/uploadfile only working for root of the fs 2020-08-10 17:09:46 +01:00
rc.go rc: fix rc/uploadfile only working for root of the fs 2020-08-10 17:09:46 +01:00
reopen_test.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
reopen.go fs: add UploadHeaders, DownloadHeaders to Update/Put/Open options 2020-04-23 11:07:21 +01:00