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

Update regex to match diffs output by cargo fmt. #208

Merged
merged 1 commit into from
Dec 9, 2018

Conversation

martica
Copy link
Contributor

@martica martica commented Dec 9, 2018

It appears the header of the diffs output by cargo fmt have changed. It now says "Diff in /blah/blah/blah.rs at line 99:" Matching on lines starting with + or - should be more future-proof against changes to the surroundings.

It appears the header of the diffs output by cargo fmt have changed. It now says "Diff in /blah/blah/blah.rs at line 99:" Matching on lines starting with + or - should be more future-proof against changes to the surroundings.
@tikue
Copy link
Collaborator

tikue commented Dec 9, 2018

Thanks!

@tikue tikue merged commit 959bb69 into google:master Dec 9, 2018
@martica
Copy link
Contributor Author

martica commented Dec 10, 2018

Cheers. Thanks for having an easy to find hook configuration to borrow. :)

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