Subject: Suggestion to revert touching files when the hash matches (problem with hardlinks)

From: goredo <[email-masked]>
Date: Tue, 1 Nov 2022 07:42:11 +0100 (GMT+01:00)

Hardlinks are a bad idea due to their "automatic updates". You no longer get the guarantee that your output is only changed by redo.

Are you sure this did not also happen before 1.23? Because I know this error. After the first run of b.do, you've already established the hardlink between a and b. Linking again to $3 doesn't change the fact that you also changed b directly (via the common link to a).

So, your problem has nothing to do with 1.23, even if the error behaviour has changed.

As an alternative, you could look into using 'cp --reflink' on modern file systems.

Kind regards,
–Michael