git2-rs
git2-rs copied to clipboard
WIP: Add wrappers for git_index_conflict_{add,remove,get,cleanup}
In response to #778 I added wrapper functions for
git_index_conflict_addgit_index_conflict_removegit_index_conflict_cleanupgit_index_conflict_get
However, I do not know if this trivial addition is actually safe, as conflicts are already exposed via an iterator. I do not know whether it is safe to modify the index while iterating over the conflicts.
Suggestions welcome!