| ... | ... | @@ -1214,7 +1214,6 @@ pub const Repository = struct { |
| 1214 | 1214 | const tree = try r.getTreeA(arena, tree_id.id); |
| 1215 | 1215 | for (result.keys(), 0..) |k, i| { |
| 1216 | 1216 | if (set.isSet(i)) continue; |
| 1217 | | const original = base_tree.get(k).?; |
| 1218 | 1217 | const new = tree.get(k); |
| 1219 | 1218 | if (new == null) { |
| 1220 | 1219 | found += 1; |
| ... | ... | @@ -1223,7 +1222,7 @@ pub const Repository = struct { |
| 1223 | 1222 | // std.log.debug("found [{d}/{d}] objects after searching {d} commits", .{ found, total, searched }); |
| 1224 | 1223 | continue; |
| 1225 | 1224 | } |
| 1226 | | if (!std.mem.eql(u8, new.?.id.erase(), original.id.erase())) { |
| 1225 | if (!std.mem.eql(u8, new.?.id.erase(), base_tree.children.items.id[i].erase())) { |
| 1227 | 1226 | found += 1; |
| 1228 | 1227 | result.putAssumeCapacity(k, commit_id_prev); |
| 1229 | 1228 | set.set(i); |