Merge pull request #1892 from libgit2/ntk/topic/index_read Make git_index_read() cope with external additions and removals of the index file