Skip to content

merge: set the checkout strategy to SAFE_CREATE#417

Merged
jdavid merged 1 commit intolibgit2:masterfrom
carlosmn:merge-checkout-safe
Sep 4, 2014
Merged

merge: set the checkout strategy to SAFE_CREATE#417
jdavid merged 1 commit intolibgit2:masterfrom
carlosmn:merge-checkout-safe

Conversation

@carlosmn
Copy link
Copy Markdown
Member

@carlosmn carlosmn commented Sep 3, 2014

The expectation is set with Repository.checkout()'s default strategy and
the documentation text that we will write the merged content of the
files to the workdir. We however fail to override the default checkout
strategy when calling git_merge() which results in a DRY_RUN strategy
and no files being changed.

Set the checkout strategy to SAFE_CREATE to match expectations and text.

The expectation is set with Repository.checkout()'s default strategy and
the documentation text that we will write the merged content of the
files to the workdir. We however fail to override the default checkout
strategy when calling git_merge() which results in a DRY_RUN strategy
and no files being changed.

Set the checkout strategy to SAFE_CREATE to match expectations and text.
@jdavid jdavid merged commit 718c7f7 into libgit2:master Sep 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants