> I suspect the implementation is now more complicated than necessary. > walk_locks and walk_locks_baton could be removed, walk_digest_files > could be renamed to indicate that only a single digest file is accessed. > The callers of walk_locks would call the renamed function directly.
Yes. I'm going to look into this and maybe will come up with a new patch.