Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Include conflicts in git_index_read_index #3847

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

Merged
merged 2 commits into from
Jun 30, 2016

Conversation

ethomson
Copy link
Member

Ensure that we include conflicts when calling git_index_read_index, which will remove conflicts in the index that do not exist in the new target, and will add conflicts from the new target.

This is important in particular for things like in memory rebase, to preserve the conflicts produced as the result of cherry-picking a single commit.

Edward Thomson added 2 commits June 29, 2016 17:01
Most of `git_index_read_index` is common to reading any iterator.
Refactor it out in case we want to implement `read_tree` in terms of it
in the future.
Ensure that we include conflicts when calling `git_index_read_index`,
which will remove conflicts in the index that do not exist in the new
target, and will add conflicts from the new target.
@ethomson ethomson force-pushed the ethomson/read_index_conflicts branch from 49afd24 to 6249d96 Compare June 29, 2016 22:37
@ethomson ethomson merged commit e421845 into master Jun 30, 2016
@ethomson ethomson deleted the ethomson/read_index_conflicts branch January 13, 2017 12:30
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.

1 participant