| ... | @@ -132,7 +132,7 @@ pub fn revList(alloc: std.mem.Allocator, dir: nfs.Dir, comptime count: u31, from | ... | @@ -132,7 +132,7 @@ pub fn revList(alloc: std.mem.Allocator, dir: nfs.Dir, comptime count: u31, from |
| 132 | const t = tracer.trace(@src(), "({d}) {s} -- {s}", .{ count, from.id, sub_path }); | 132 | const t = tracer.trace(@src(), "({d}) {s} -- {s}", .{ count, from.id, sub_path }); |
| 133 | defer t.end(); | 133 | defer t.end(); |
| 134 | | 134 | |
| 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, &.{ |
| 136 | "git", | 136 | "git", |
| 137 | "rev-list", | 137 | "rev-list", |
| 138 | "-" ++ std.fmt.comptimePrint("{d}", .{count}), | 138 | "-" ++ std.fmt.comptimePrint("{d}", .{count}), |
| ... | @@ -152,7 +152,7 @@ pub fn revListAll(alloc: std.mem.Allocator, dir: nfs.Dir, from: CommitId, sub_pa | ... | @@ -152,7 +152,7 @@ pub fn revListAll(alloc: std.mem.Allocator, dir: nfs.Dir, from: CommitId, sub_pa |
| 152 | const t = tracer.trace(@src(), " {s} -- {s}", .{ from.id, sub_path }); | 152 | const t = tracer.trace(@src(), " {s} -- {s}", .{ from.id, sub_path }); |
| 153 | defer t.end(); | 153 | defer t.end(); |
| 154 | | 154 | |
| 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 }); |
| 156 | std.debug.assert(result.term == .exited and result.term.exited == 0); | 156 | std.debug.assert(result.term == .exited and result.term.exited == 0); |
| 157 | return std.mem.trimEnd(u8, result.stdout, "\n"); | 157 | return std.mem.trimEnd(u8, result.stdout, "\n"); |
| 158 | } | 158 | } |