> Was there a user-visible bug here? For many things we put
> in pending, we could reorder them without commuting and get away with
> it, but not for renames.
We are talking about commuting changes we want to add to pending with
unrecorded changes that are /not/ in pending (typically just hunks or
file removes). While commuting a rename with a hunk can modify the
latter, this is not problematic here, since we don't store the result as
patches (unless we record them). Of course this is just hand-waving and
not a proof. But it may help explain why failures (if they were actually
possible) have been rare and perhaps obscure enough to slip by.
> Given it was only used in rebase unsuspend,
> rollback and revert I could imagine we might not have noticed before.
I agree that this is possible, though I never instestigated it. It would
be yet another reason why handling the pending patch was always very
defensive.
|