diff -r bc2cdbf5e68f -r 046b869a1c49 dav/scfg.c --- a/dav/scfg.c Sun Aug 18 09:41:29 2019 +0200 +++ b/dav/scfg.c Mon Aug 19 19:19:08 2019 +0200 @@ -393,6 +393,7 @@ bool lockpull = false; bool lockpush = false; bool hashing = false; + bool store_hash = false; //bool detect_copy = false; time_t lock_timeout = 0; uint32_t metadata = 0; @@ -490,6 +491,7 @@ } } else if(xstreq(node->name, "hashing")) { hashing = util_getboolean(value); + store_hash = hashing; // TODO: extra config for this? } else if(xstreq(node->name, "symlinks")) { uint32_t symlinkconfig = 0; const char *delims = " ,\r\n"; @@ -550,6 +552,7 @@ dir->lockpull = lockpull; dir->lockpush = lockpush; dir->hashing = hashing; + dir->store_hash = store_hash; dir->lock_timeout = lock_timeout; dir->metadata = metadata; dir->splitconfig = splitconfig;