| author | |
| committer | |
| log | 91e933583cac89fa00ad2e44a7075dc37a62157b |
| tree | e177250e6b38588afb72fe5f542318512f607fd1 |
| parent | fec0b7e88951d866fc9196140748e95244232ea1 |
| signature |
1 files changed, 1 insertions(+), 0 deletions(-)
git.zig+1| ... | ... | @@ -1307,6 +1307,7 @@ fn traverseTo(r: *Repository, arena: std.mem.Allocator, treestart_id: TreeId, di |
| 1307 | 1307 | while (iter.next()) |segment| { |
| 1308 | 1308 | const tree = try r.getTreeA(arena, id.id); |
| 1309 | 1309 | const o = tree.get(segment) orelse return null; |
| 1310 | if (o.id != .tree) return null; | |
| 1310 | 1311 | id = o.id.tree; |
| 1311 | 1312 | } |
| 1312 | 1313 | return id; |