delay updateIndex post commit.
Merge branch 'master' into fix_update_index
Merge pull request #2227 from dart-lang/delay_index_update

delay updateIndex post commit.