Comment 5 for bug 322327

Revision history for this message
Thierry Carrez (ttx) wrote :

Thanks Robert for your advice.

You are right it makes more sense to change iter_changes in all cases, since the idea is to cover all cases.

Note that my idea was to use the hook to add files that happen just to have their metadata changed (so that they show as "changed" for all purposes), but also to remove ".etckeeper" (the file containing metadata info) from the iterator so that it gets ignored in the diff output. If the iterator is modified globally, I guess I should keep .etckeeper in so that it's properly used in all other operations, and filter it out at the command/UI layer ?