Committing the index file