authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-29 02:15:50 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-29 02:15:50 -07:00
log70d5ded3d5699c452cb3f4298ee2822cfc0f814e
tree2fd496da12ea1788d6e76195fd3c5fcd0f4568c8
parenta795e5da2789aa328c6b61aebf13faf2658d3328
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

Repository.getTreeCommits: if search makes it to the end, don't assign the first commit; assign the last


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

git.zig+1-1
......@@ -1236,7 +1236,7 @@ pub const Repository = struct {
12361236 }
12371237 for (0..total, result.values()) |i, *v| {
12381238 if (!set.isSet(i)) {
1239 v.* = base_oid;
1239 v.* = commit_id;
12401240 }
12411241 }
12421242