Make sure moves involving e2e are delete + upload
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 2 Jul 2020 16:19:16 +0000 (18:19 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Mon, 6 Jul 2020 05:27:14 +0000 (05:27 +0000)
commitd217fc272e9b35870d392998a596ae623915165b
treefad5d2e94cea7f72f588e3a81f47e36e72a9faec
parent0b1cf6913447cee6b94db885c1b00292edbf8d86
Make sure moves involving e2e are delete + upload

If the file has a mangled name or will end up in a parent directory
known to be encrypted, we stick to the CSYNC_INTRUCTION_NEW instead of
going for CSYNC_INSTRUCTION_RENAME. This way we'll have a delete and an
upload instead of a move command.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/csync/csync_reconcile.cpp