You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1083d88
Browse filesBrowse the repository at this point in the historyBrowse files
Read and write empty hunk ranges the way diff and git do (#236)
In a unified diff a range with a count of 0 names the line before it,
so "@@ -2,0 +3 @@" inserts after line 2. Both parsers took the start
as the first affected line and both writers wrote it that way, so a
zero-context diff from GNU diff or git was applied one line early, and
GNU patch applied ours one line late.
Co-authored-by: Tobias <t.warneke@gmx.net>
0 commit comments