git2-rs icon indicating copy to clipboard operation
git2-rs copied to clipboard

WIP: Add wrappers for git_index_conflict_{add,remove,get,cleanup}

Open fin-ger opened this issue 3 years ago • 0 comments

In response to #778 I added wrapper functions for

  • git_index_conflict_add
  • git_index_conflict_remove
  • git_index_conflict_cleanup
  • git_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!

fin-ger avatar Nov 30 '21 11:11 fin-ger