ArneBachmann / sos

Subversion Offline Solution
https://sos-vcs.net
Mozilla Public License 2.0
6 stars 1 forks source link

Empty files are always shown as modified #283

Closed ArneBachmann closed 5 years ago

ArneBachmann commented 5 years ago

Reason is that we switched from simple to strict mode, which results in empty hashes. I thought hashes are computed first time anyway and then ignored in findChanges, but this is not the case and also would make no sense once files start getting modified. Therefore a detection as changed makes sense. But even once commited anew, the hash is not computed, although in strict mode. There seems to be a bug in findChanges.

ArneBachmann commented 5 years ago

There was a bug not computing the hash when size is 0