dav/sync.c

changeset 643
5b8643cf0a2f
parent 639
928a77ebe0b9
child 644
a38b15061848
--- a/dav/sync.c	Mon Sep 16 19:49:04 2019 +0200
+++ b/dav/sync.c	Tue Sep 17 21:06:03 2019 +0200
@@ -2702,6 +2702,10 @@
         }
     }
     
+    if(!res->isdirectory && dir->push_strategy == PUSH_STRATEGY_HASH) {
+        res->hash = util_file_hash(file_path);
+    }
+    
     free(file_path);
     
     if(skip_file) {

mercurial