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

Add a fix for applying 0-length destination patches #118

Merged
merged 1 commit into from
May 31, 2016

Conversation

chaaz
Copy link
Contributor

@chaaz chaaz commented May 31, 2016

If the destination lines length is 0, then actual editing should start one line later (since, per the spec, zero-length blocks are indexed at the line before any changes). This closes #116.

@kpdecker kpdecker merged commit 4a899c0 into kpdecker:master May 31, 2016
@kpdecker
Copy link
Owner

Thanks!

@kpdecker
Copy link
Owner

Released in 2.2.3

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.

applyPatch can't handle clearing the file
2 participants