Commit Diff


commit - e78a8d73c23ee314fdbdf110d5c55866c9ef9680
commit + f46fa9b5e78156c0360f508336dbe3dfa04b503f
blob - 8b2477047aa2fbba35eb20ce030a857b1d0c4664
blob + f44e799638f771a0588c11e3d5b6b1200b5c64f1
--- lib/diff_output.c
+++ lib/diff_output.c
@@ -90,13 +90,6 @@ diff_output_lines(struct diff_output_info *outinfo, FI
 				return rc;
 			if (ch == '\n')
 				len--;
-			if (len) {
-				rc = get_atom_byte(&ch, atom, len - 1);
-				if (rc)
-					return rc;
-				if (ch == '\r')
-					len--;
-			}
 		}
 
 		for (i = 0; i < len; i++) {