superzanti / ServerSync

Sync files between client and server for Minecraft Forge
GNU General Public License v3.0
163 stars 26 forks source link

Unnecessary synchronization of files due to line feed encoding differences #286

Closed Omegaice closed 3 years ago

Omegaice commented 3 years ago

Serversync Version: 4.2.0

Minecraft Version: 1.12.2

Issue:

With the current version, all files are hashed by their binary data. But for text files, the contents can be identical except for the line feed (LF on Linux and CRLF on Windows) and ServerSync will still mark them as mismatched and re-synchronize them.