CommitController: Don't turn of off automatic rearranging
commita03401dd51cccd5c8ea191016f7cc149143fb7bd
authorPieter de Bie <frimmirf+gitx@gmail.com>
Sat, 20 Jun 2009 20:58:34 +0000 (20 21:58 +0100)
committerPieter de Bie <frimmirf+gitx@gmail.com>
Sat, 20 Jun 2009 20:58:34 +0000 (20 21:58 +0100)
treea2f52d80eaaad01e9e28f6cfce8b24c2f33d1e6f
parent6fd339756e609a9a6415aaffba2c419824f5860c
CommitController: Don't turn of off automatic rearranging

In a6b7c0c2a6 (GitCommitController: Also use dictionary lookup for untracked files),
we started using a dictionary when updating the index to avoid O(n^2) lookups
and make the code cleaner at the same time.

Before that change we temporarily stopped tracking the index, so that
the controller wasn't fired with hundreds of KVO notifications. in a6b7c0c2a6,
we removed the re-tracked, but accidentally kept the untracking portion, which
meant that some index changes would not propagate to the controllers.
PBGitCommitController.m