Rename detection: File size must be equal
authorChristian Kamm <mail@ckamm.de>
Thu, 5 Oct 2017 09:39:35 +0000 (11:39 +0200)
committerckamm <mail@ckamm.de>
Thu, 5 Oct 2017 12:17:07 +0000 (14:17 +0200)
commit90befac9012943347f87ab7b6ba94fe9508a19d8
treec67d08acd22742f5445b7946b6297097b2e71785
parent22f71ce17e7c03e19db30e257e4c01c0b9960e76
Rename detection: File size must be equal

Comparison of file sizes for potential conflicts was added in
0eb9401c624f20a128b46f8eb1fa5a984f9ef61e, but did not extend to checking
the file size in case of potential local moves.

This commit adds this check and adds tests for various move+change
scenarios.
src/csync/csync_update.cpp
test/testsyncengine.cpp