It was very slow when loads of changes were made in the repo - it would read in all the changes, and then check it's "not empty".