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

Implement specialized diffing for slices #131

Merged
merged 2 commits into from Mar 12, 2019

Conversation

Projects
None yet
2 participants
@dsnet
Copy link
Member

dsnet commented Mar 12, 2019

Lists of primitives are a common-enough data structure that
it is worth providing specialized diffing for.

This provides significantly better readability for strings
and byte slices. There is also a heuristic for detecting
what a string should be diffed as a multiline string.

Implement specialized diffing for slices
Lists of primitives are a common-enough data structure that
it is worth providing specialized diffing for.

This provides significantly better readability for strings
and byte slices. There is also a heuristic for detecting
what a string should be diffed as a multiline string.

@dsnet dsnet requested a review from cybrcodr Mar 12, 2019

@dsnet dsnet merged commit b5cce89 into master Mar 12, 2019

3 checks passed

cla/google All necessary CLAs are signed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@dsnet dsnet deleted the diff-slices branch Mar 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.