git2r
git2r copied to clipboard
Add tests for merge conflict due to unstaged conflicting change.
@stewid I added some tests (currently failing) related to Issue #389.
I didn't update the documentation or messaging because ideally this situation can be properly handled by returning the appropriate values after a merge conflict due to unstaged changes:
-
fast_forward
should be returned asFALSE
instead ofNULL
-
conflicts
should be returned asTRUE
instead ofNULL
-
sha
should be returned asNA_character_
instead ofNULL