authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-12-28 22:13:27 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-12-28 22:13:27 -08:00
loge09ba5bf6876eee6d0302880878d12618329c92b
treecd496be52e36b16cd1178eb2e2ce8481ffad37b9
parentf5aec373f0cb4460cc036d35e631872d37407e4b

fix missing change for zig-sys


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

git.zig+2-2
......@@ -775,13 +775,13 @@ pub const Ref = struct {
775775};
776776
777777// TODO make this inspect .git/objects
778pub fn getBlame(alloc: std.mem.Allocator, dir: std.fs.Dir, at: CommitId, sub_path: string) !string {
778pub fn getBlame(alloc: std.mem.Allocator, dir: nfs.Dir, at: CommitId, sub_path: string) !string {
779779 const t = tracer.trace(@src(), " {s} -- {s}", .{ at.id, sub_path });
780780 defer t.end();
781781
782782 const result = try std.process.Child.run(.{
783783 .allocator = alloc,
784 .cwd_dir = dir,
784 .cwd_dir = dir.to_std(),
785785 .argv = &.{ "git", "blame", "-p", at.id, "--", sub_path },
786786 .max_output_bytes = 1024 * 1024 * 1024,
787787 });