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

Fix diff lines that begin with -- or ++ #99

Merged
merged 1 commit into from
Dec 30, 2018

Conversation

dark-panda
Copy link
Contributor

We can leverage the file paths path to enhance our regex, since the odds
of them matching exactly what appears in a diff output are pretty minimal.

Fixes issues #77 and #92.

@dark-panda dark-panda force-pushed the fix-diffs-with-dashes-and-pluses branch 3 times, most recently from cac9a92 to cc0d1f8 Compare November 8, 2018 00:44
We can leverage the file paths path to enhance our regex, since the odds
of them matching exactly what appears in a diff output are pretty minimal.
@dark-panda dark-panda force-pushed the fix-diffs-with-dashes-and-pluses branch from cc0d1f8 to c71e806 Compare November 8, 2018 00:48
@sergeych
Copy link

please merge it: it actually helps, I do use it. without this fix it is, frankly, of little use as it drops diffs. @dark-panda thanks 👍

@samg
Copy link
Owner

samg commented Dec 30, 2018

Thank you for fixing this longstanding bug!

@samg samg merged commit 08f3340 into samg:master Dec 30, 2018
@samg
Copy link
Owner

samg commented Dec 30, 2018

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.

3 participants