Index: Don't rearrange on every object
commit2b8d378f1300580846f9b5de93f43f40313deae8
authorPieter de Bie <frimmirf+gitx@gmail.com>
Mon, 23 Mar 2009 22:43:48 +0000 (23 22:43 +0000)
committerPieter de Bie <frimmirf+gitx@gmail.com>
Mon, 23 Mar 2009 22:43:48 +0000 (23 22:43 +0000)
treeefa25dd7fc7442ba44738e4ef917b86a168eb4e5
parentb18d9af2aa9be016e963056b89bd0e864c4f95de
Index: Don't rearrange on every object

We used to change the PBFile status every time we found a
similarly named file. Because the unstagedFilesController
had a filter and sort predicate for these, the array was
rearranged every time an existing file was found. This quickly
leads to stalling.

We fix it by temporarily disabling the automatic rearranging
and then reenabling it when we're finished.
PBGitCommitController.m