##// END OF EJS Templates
diff: re-establish linear runtime performance...
Elmar Bartel -
r45266:e58422af stable
parent child Browse files
Show More
@@ -2558,7 +2558,7 b' def diff('
2558 2558 fctx2 is not None
2559 2559 ), b'fctx2 unexpectly None in diff hunks filtering'
2560 2560 hunks = hunksfilterfn(fctx2, hunks)
2561 text = b''.join(sum((list(hlines) for hrange, hlines in hunks), []))
2561 text = b''.join(b''.join(hlines) for hrange, hlines in hunks)
2562 2562 if hdr and (text or len(hdr) > 1):
2563 2563 yield b'\n'.join(hdr) + b'\n'
2564 2564 if text:
General Comments 0
You need to be logged in to leave comments. Login now