Commit ec285c48 authored by Johann's avatar Johann Committed by Gerrit Code Review

Merge "Ignore missing newline message"

parents c31cf0d6 f498d92f
......@@ -56,6 +56,9 @@ class DiffHunk(object):
elif line[0] == " ":
self.left.Append(line)
self.right.Append(line)
elif line[0] == "\\":
# Ignore newline messages from git diff.
pass
else:
assert False, ("Unrecognized character at start of diff line "
"%r" % line[0])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment