"Avery Pennarun" [off-list ref] writes:
We need to call exclude_cmds() after the loop, not during the loop, because
excluding a command from the array can change the indexes of objects in the
array. The result is that, depending on file ordering, some commands
weren't excluded as they should have been.
As an independent bugfix, I would prefer this to be made against 'maint'
and not as a part of this series.
How did you notice it? Can you make a test case out of your experience of
noticing this bug in the first place, by the way (I am suspecting that you
saw some breakage and chased it in the debugger)?