We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa7050 commit 2ad31b2Copy full SHA for 2ad31b2
2 files changed
build.zig.zon
@@ -1,6 +1,6 @@
1
.{
2
.name = .github_stats,
3
- .version = "2.0.0-rc.2",
+ .version = "2.0.0-rc.3",
4
.fingerprint = 0x80bb05a632422e37, // Changing this has security and trust implications.
5
.minimum_zig_version = "0.15.2",
6
.dependencies = .{},
src/git.zig
@@ -89,10 +89,7 @@ pub fn getLinesChanged(
89
const log = try std.process.Child.run(.{
90
.allocator = allocator,
91
.argv = log_args,
92
- .max_output_bytes = @min(
93
- 64 * 1024 * 1024 * 1024,
94
- std.math.maxInt(usize),
95
- ),
+ .max_output_bytes = 64 * 1024 * 1024,
96
});
97
switch (log.term) {
98
.Exited => |v| if (v != 0) return error.LogFailed,
0 commit comments