Add asset_hashes_can_differ option to the equality checks. v1.8.74
authorCarl Hetherington <cth@carlh.net>
Wed, 28 Jun 2023 21:00:57 +0000 (23:00 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 28 Jun 2023 23:25:46 +0000 (01:25 +0200)
commitb3b70e6d7c2ec6787d0b492442bb4f7537b4b580
treef1b9f14b5c8e9831e7bd23bc7e88817132511a31
parente702623781c8d5853b79a29ca8c5f495d0ade3d1
Add asset_hashes_can_differ option to the equality checks.

Before recent changes Asset::_hash would be empty when the equality
checks were run (and Asset::equals() compares them directly).

This mean that differences in asset hash were being ignored, but
are no longer; so now we need this option to restore that behaviour
where required.
src/asset.cc
src/types.h