From 29054b505df3484e7151a6d67637b4a53472ccbe Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Tue, 9 Feb 2016 19:00:47 +0200 Subject: [PATCH] Fix detection of changed shasums Currently we are validating only the shasum of the files in order to detect which one are changed and sync only them. However this is not correct as the file may be on a different location, but without changing its size. Also in case you copy some of your files, their shasums might be the same as the original file. In case the original file is already synced, its hash size will be found in the "oldShasums" and the new file will not be copied. Validate by using both path and hash. Fix unit tests and add some new ones. --- lib/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common b/lib/common index a953a65ae0..d323189d3d 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit a953a65ae08922ed6275f6126f7033d8f78f0657 +Subproject commit d323189d3d55e9b1f790bfee85ad8aa7b89df489