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

[WIP] git: Detect conflict markets in BOTH_ADDED files when staging #50252

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

zhuowei
Copy link
Contributor

@zhuowei zhuowei commented May 22, 2018

The existing code only checked for conflict markers for files with BOTH_MODIFIED status; files with BOTH_ADDED status were always detected as conflicting even after conflicts are resolved.

This fixes #44106.


I have only tested this against this testcase in the original issue . I have not tested to see if this breaks existing conflict detection: are there any Git testcases I can run to make sure that I've fixed the issue and that I didn't introduce regressions?

The existing code only checked for conflict markers for files with BOTH_MODIFIED
status; files with BOTH_ADDED status were always detected as conflicting even after
conflicts are resolved.

This fixes microsoft#44106.
@joaomoreno joaomoreno added this to the Backlog milestone May 28, 2018
@joaomoreno joaomoreno added the git GIT issues label May 28, 2018
@joaomoreno joaomoreno merged commit 325a919 into microsoft:master Jul 6, 2018
@joaomoreno joaomoreno modified the milestones: Backlog, July 2018 Jul 6, 2018
@joaomoreno
Copy link
Member

Thanks! 🍻

@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
git GIT issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge conflict warning when there are none
2 participants