Skip to content

Conversation

@jamill
Copy link
Member

@jamill jamill commented Jul 14, 2014

Currently, if there are changes in your working directory and
a fastforward merge would update those files, the checkout
that is performed as part of the fast forward will skip over
these files. This change fixes and adds regression tests around
this behavior.

Originally, we needed to pass in the GIT_CHECKOUT_ALLOW_CONFLICTS flag for the merge calls, but this flag should not be passed in during the fast-forward update. There have been updates for libgit2 since this was originally implemented where this flag should not even be passed to the merge calls.

/cc @ethomson

Currently, if there are changes in your working directory and
a fastforward merge would update those files, the checkout
that is performed as part of the fast forward will skip over
these files. This change fixes and adds regression tests around
this behavior.
@ethomson
Copy link
Member

Thanks for this @jamill , this looks good to me.

@dahlbyk
Copy link
Member

dahlbyk commented Jul 14, 2014

👍

@nulltoken nulltoken merged commit 91456eb into vNext Jul 14, 2014
@nulltoken nulltoken deleted the jamill/merge_fix branch July 14, 2014 18:34
@nulltoken
Copy link
Member

‼️

@nulltoken nulltoken added this to the v0.19.0 milestone Aug 24, 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.

5 participants