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

Merge "Ignore missing newline message"

Showing with 3 additions and 0 deletions
...@@ -56,6 +56,9 @@ class DiffHunk(object): ...@@ -56,6 +56,9 @@ class DiffHunk(object):
elif line[0] == " ": elif line[0] == " ":
self.left.Append(line) self.left.Append(line)
self.right.Append(line) self.right.Append(line)
elif line[0] == "\\":
# Ignore newline messages from git diff.
pass
else: else:
assert False, ("Unrecognized character at start of diff line " assert False, ("Unrecognized character at start of diff line "
"%r" % line[0]) "%r" % line[0])
......
Supports Markdown
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