From e09ba5bf6876eee6d0302880878d12618329c92b Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sun, 28 Dec 2025 22:13:27 -0800 Subject: [PATCH] fix missing change for zig-sys --- git.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git.zig b/git.zig index f0b391a792babf5cdd7f97dd11f62d5880abc6c1..d98f29c531a9869b2a6b07af52b59acca453fc57 100644 --- a/git.zig +++ b/git.zig @@ -775,13 +775,13 @@ pub const Ref = struct { }; // TODO make this inspect .git/objects -pub fn getBlame(alloc: std.mem.Allocator, dir: std.fs.Dir, at: CommitId, sub_path: string) !string { +pub fn getBlame(alloc: std.mem.Allocator, dir: nfs.Dir, at: CommitId, sub_path: string) !string { const t = tracer.trace(@src(), " {s} -- {s}", .{ at.id, sub_path }); defer t.end(); const result = try std.process.Child.run(.{ .allocator = alloc, - .cwd_dir = dir, + .cwd_dir = dir.to_std(), .argv = &.{ "git", "blame", "-p", at.id, "--", sub_path }, .max_output_bytes = 1024 * 1024 * 1024, }); -- 2.54.0