Show More
@@ -871,7 +871,7 def _parsechunk(hunk): | |||||
871 | patchlines = mdiff.splitnewlines(buf.getvalue()) |
|
871 | patchlines = mdiff.splitnewlines(buf.getvalue()) | |
872 | # hunk.prettystr() will update hunk.removed |
|
872 | # hunk.prettystr() will update hunk.removed | |
873 | a2 = a1 + hunk.removed |
|
873 | a2 = a1 + hunk.removed | |
874 |
blines = [l[1:] for l in patchlines[1:] if l |
|
874 | blines = [l[1:] for l in patchlines[1:] if not l.startswith('-')] | |
875 | return path, (a1, a2, blines) |
|
875 | return path, (a1, a2, blines) | |
876 |
|
876 | |||
877 | def overlaydiffcontext(ctx, chunks): |
|
877 | def overlaydiffcontext(ctx, chunks): |
General Comments 0
You need to be logged in to leave comments.
Login now