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

Detect correctly rebase errors on Git v2.26.x #407

Merged
merged 2 commits into from
Jul 2, 2020
Merged

Conversation

rafeca
Copy link
Contributor

@rafeca rafeca commented Jun 26, 2020

This PR is based on #406 to be able to use the custom matcher


After upgrading to Git v2.26.x, the rebase errors have not been correctly parsed. This is caused by the change of the default rebase backend in git v2.26 (more info), which has change the errors displayed when there's a conflict while rebasing.

As part of this PR I've added better tests for these specific errors so we can catch them earlier next time their output changes.

Copy link
Member

@niik niik left a comment

Choose a reason for hiding this comment

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

Again, this testing of the actual output is bringing tears of joy to my eyes ❤️

Base automatically changed from custom-matcher-for-errors to master July 2, 2020 10:17
@niik niik merged commit 17726f5 into master Jul 2, 2020
@niik niik deleted the detection-rebase-errors branch July 2, 2020 10:41
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.

2 participants