| author | |
| committer | |
| log | d5f0b0403845f48094eaed4cb5fd62d6ea83881a |
| tree | 735fdc52a6baa21f22b0792f4243bfae7666189b |
| parent | 04c2407dfb38594184bdc40960945011a721bdcd |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
git.zig+1-1| ... | ... | @@ -1695,7 +1695,7 @@ pub const Repository = struct { |
| 1695 | 1695 | prev_tree = next_tree; |
| 1696 | 1696 | continue; |
| 1697 | 1697 | } |
| 1698 | try list.appendSlice(alloc, prev_prev_commit.?.parents[0].id ++ "\n"); | |
| 1698 | try list.appendSlice(alloc, (if (prev_prev_commit) |p| p.parents[0].id else from.id) ++ "\n"); | |
| 1699 | 1699 | if (prev_prev_commit) |p| p.destroy(r); |
| 1700 | 1700 | prev_prev_commit = prev_commit; |
| 1701 | 1701 | prev_commit = next_commit; |