Rename detection: File size must be equal
authorChristian Kamm <mail@ckamm.de>
Thu, 5 Oct 2017 09:39:35 +0000 (11:39 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:42 +0000 (22:01 +0200)
commit19c6757a0f971e5ba906ae70f3fce3d8af103e68
tree7af1320d05fbc2f5aa9654642458996a5603b3f0
parent3636a59830e13039ca19b2c1e796ffc7e8998b09
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