Merge pull request #3366 from libgit2/cmn/index-hashmap Use a hashmap for path-based lookups in the index