You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This version of redo stores hash information for targets within files (inside of a .redo directory) named with the hash of the contents. So if dependencies a and b both have the same contents, then they will share a .redo file with the filename being the hash of their contents (ie. something like ab20482feed). Since two different targets are using the same metadata file, I am not surprised by the issues you are having.
I would recommend using either this version of redo implemented in Haskell, or this version implemented in python, both which solve this problem.
Just noticed something
If a target depends on two files which happen to have the same contents, changing one of them might not cause a rebuild.
Here's a small example
Two empty files are created
a
andb
, andconcat.do
is created to concatenate them:If you redo target
concat
and than change filea
, redo won't notice the change.This might be a rare and degenerate example and might not be worth fixing.
The text was updated successfully, but these errors were encountered: