authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-04-21 00:44:08 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-04-21 00:44:08 -07:00
log5f9e5b23ee5e51193f89f8f02b16ed2382132165
tree9a7bd71bf7636459cd9eb694ab68af2d52063c30
parent81b05921ec553e1adf29705b84fbfb610690ec88
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

comment another log for getTreeCommits


1 files changed, 6 insertions(+), 0 deletions(-)

git.zig+6
......@@ -1332,6 +1332,8 @@ pub const Repository = struct {
13321332 const t = tracer.trace(@src(), "", .{});
13331333 defer t.end();
13341334
1335 // const start = std.time.milliTimestamp();
1336
13351337 const base_idx = try r.getCommitA(arena, base_oid.id);
13361338 const base = base_idx.reify(r);
13371339 const base_tree = try traverseTo(r, arena, base.tree, dir_path);
......@@ -1385,6 +1387,10 @@ pub const Repository = struct {
13851387 v.* = base_oid;
13861388 }
13871389 }
1390
1391 // const end = std.time.milliTimestamp();
1392 // std.log.debug("found {d} in {d}ms", .{ total, end - start });
1393
13881394 return try arena.dupe(CommitId, result.values());
13891395 }
13901396};