From 70d5ded3d5699c452cb3f4298ee2822cfc0f814e Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 29 May 2026 02:15:50 -0700 Subject: [PATCH] Repository.getTreeCommits: if search makes it to the end, don't assign the first commit; assign the last --- git.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.zig b/git.zig index 2ae50825329fd8a006efc1749db5a0b2dd05d997..8b7dd3b803278dafb20ba2ab8cf7d6884c283843 100644 --- a/git.zig +++ b/git.zig @@ -1236,7 +1236,7 @@ pub const Repository = struct { } for (0..total, result.values()) |i, *v| { if (!set.isSet(i)) { - v.* = base_oid; + v.* = commit_id; } } -- 2.54.0