mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
...
This commit is contained in:
@@ -200,7 +200,7 @@ def parse_patch(raw: str) -> Patch:
|
|||||||
else:
|
else:
|
||||||
if current_hunk is None:
|
if current_hunk is None:
|
||||||
continue
|
continue
|
||||||
q = line[0]
|
q = line[0] if line else ''
|
||||||
if q == '+':
|
if q == '+':
|
||||||
current_hunk.add_line()
|
current_hunk.add_line()
|
||||||
elif q == '-':
|
elif q == '-':
|
||||||
|
|||||||
Reference in New Issue
Block a user