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

Preserve word diffs when highlighting lines #410

Merged
merged 3 commits into from
Nov 4, 2021

Conversation

pastelsky
Copy link
Contributor

Bitbucket's new diff view has a feature where word diffs are highlighted with a darker shade of green red.
The current implementation strips out del and ins tags from the diff view.

This PR preserves these tags, and hence word diffs.

Before

Screenshot 2021-05-14 at 11 15 04 PM

After

Screenshot 2021-05-14 at 11 12 54 PM

  • I tested the changes in this pull request myself

@PhenX
Copy link

PhenX commented Nov 2, 2021

I think this feature is a must have, diff views are much more readable with word diffs.

Copy link
Member

@reyronald reyronald left a comment

Choose a reason for hiding this comment

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

Thank you!

@reyronald reyronald merged commit c9b2841 into refined-bitbucket:dev Nov 4, 2021
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

3 participants