Get the index entries that represent a conflict of a single file.
The entries are not modifiable and should not be freed. Because the
git_index_entry
struct is a publicly defined struct, you should
be able to make your own permanent copy of the data if necessary.
path to search