kosaki/colordiff.py — pull request #1 by cben (2012-07-12 15:29:12+00:00)
Title: don't swallow hunk at end of file

trivial repro:

$ diff -u <(echo a) <(echo b)
--- /dev/fd/63	2012-07-12 18:28:10.759153029 +0300
+++ /dev/fd/62	2012-07-12 18:28:10.759153029 +0300
@@ -1 +1 @@
-a
+b

$ diff -u <(echo a) <(echo b) | colordiff.py
--- /dev/fd/63	2012-07-12 18:28:36.307995376 +0300
+++ /dev/fd/62	2012-07-12 18:28:36.307995376 +0300
@@ -1 +1 @@