| ... | @@ -604,6 +604,12 @@ pub fn parseTreeDiff(alloc: std.mem.Allocator, input: string) !TreeDiff { | ... | @@ -604,6 +604,12 @@ pub fn parseTreeDiff(alloc: std.mem.Allocator, input: string) !TreeDiff { |
| 604 | .sub_path = kter.rest(), | 604 | .sub_path = kter.rest(), |
| 605 | }); | 605 | }); |
| 606 | } | 606 | } |
| | 607 | if (lineiter.peek() == null) { |
| | 608 | return TreeDiff{ |
| | 609 | .overview = overview.items, |
| | 610 | .diffs = diffs.items, |
| | 611 | }; |
| | 612 | } |
| 607 | | 613 | |
| 608 | // diff --git a/notes/all_packages.txt b/notes/all_packages.txt | 614 | // diff --git a/notes/all_packages.txt b/notes/all_packages.txt |
| 609 | // index c06b41d..e8f91cf 100644 | 615 | // index c06b41d..e8f91cf 100644 |