Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository.mergeBranches leaves HEAD with a dirty index after the merge #1271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rcjsuen
Copy link
Member

@rcjsuen rcjsuen commented Apr 12, 2017

So for whatever reasons, creating a commit off of the written index doesn't seem to wipe the index clean of its changes. While I don't think the proposed change is really the best way to fix #1217, it does get the index into a clean state.

Force a complete checkout to wipe the index of any staged changes.
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.

Repository.mergeBranches creates dirty index after a non-conflicting merge
1 participant