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: DiffLinesToChars hash error. #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vill-jiang
Copy link

oldS := `
asd
cvf
`
newS := `
asd
cvf
`
chars1, chars2, lineSlice := dmp.DiffLinesToChars(oldS, newS)

DiffLinesToChars do not hash same line to same value that including in chars1 and chars2.

Fix: DiffLinesToChars can not to hash same line string to same value.
@schrej
Copy link

schrej commented Nov 16, 2021

fixes #123

katbyte added a commit to katbyte/sergi-go-diff that referenced this pull request Aug 10, 2022
katbyte added a commit to katbyte/sergi-go-diff that referenced this pull request Aug 10, 2022
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