Skip to content

Conversation

@zimmski
Copy link
Collaborator

@zimmski zimmski commented Oct 29, 2016

Closes #27

The old code finds prefixes/suffixes by rune index but splits strings at
byte index instead. This can split unicode chars into invalid chars for
large files and can cause panics in diffCharsToLines later on when
lookup is done on the invalid runes.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.797% when pulling 1b5014b on 27-refactor-DiffCleanupMerge-to-use-runes-instead-of-strings into 15ed0c1 on master.

@zimmski zimmski merged commit 159219e into master Oct 29, 2016
@zimmski zimmski deleted the 27-refactor-DiffCleanupMerge-to-use-runes-instead-of-strings branch October 29, 2016 18:42
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.

4 participants