authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-27 02:46:13 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-27 02:46:13 -07:00
loga7a8d70e217537c4808ca56a716ba8c1cadea058
tree32000456afe2847357eb569cabc50295219a0ce3
parent142935ded09b5d316fe013c673576b24debaf0bb
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

revList: increase stdout limit


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

git.zig+2-2
......@@ -132,7 +132,7 @@ pub fn revList(alloc: std.mem.Allocator, dir: nfs.Dir, comptime count: u31, from
132132 const t = tracer.trace(@src(), "({d}) {s} -- {s}", .{ count, from.id, sub_path });
133133 defer t.end();
134134
135 const result = try root.child_process.run(alloc, dir, .ignore, .pipe, .pipe, 1024 * 50, &.{
135 const result = try root.child_process.run(alloc, dir, .ignore, .pipe, .pipe, 1024 * 1024 * 10, &.{
136136 "git",
137137 "rev-list",
138138 "-" ++ std.fmt.comptimePrint("{d}", .{count}),
......@@ -152,7 +152,7 @@ pub fn revListAll(alloc: std.mem.Allocator, dir: nfs.Dir, from: CommitId, sub_pa
152152 const t = tracer.trace(@src(), " {s} -- {s}", .{ from.id, sub_path });
153153 defer t.end();
154154
155 const result = try root.child_process.run(alloc, dir, .ignore, .pipe, .pipe, 1024 * 50, &.{ "git", "rev-list", from.id, "--", sub_path });
155 const result = try root.child_process.run(alloc, dir, .ignore, .pipe, .pipe, 1024 * 1024 * 10, &.{ "git", "rev-list", from.id, "--", sub_path });
156156 std.debug.assert(result.term == .exited and result.term.exited == 0);
157157 return std.mem.trimEnd(u8, result.stdout, "\n");
158158}