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

Give more information about merge conflicts #1056

Merged
merged 4 commits into from Mar 18, 2020
Merged

Give more information about merge conflicts #1056

merged 4 commits into from Mar 18, 2020

Conversation

hadley
Copy link
Member

@hadley hadley commented Mar 16, 2020

No description provided.

@hadley hadley requested a review from jennybc March 16, 2020 14:25
R/git-utils.R Outdated
"There are {length(conflicted)} conflicted files:",
paste0("* ", conflicted_path)
))
ui_stop("Please fix, stage, and commit to continue")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is definitely progress. But we could also mention git merge --abort as a way to back out, while we're at it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also wondered if we should use edit_file() to open these files for editing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to try it, and we can back off it seems too annoying.

@hadley hadley merged commit b0e4518 into master Mar 18, 2020
@hadley hadley deleted the merge-conflict branch March 18, 2020 17:26
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.

None yet

2 participants