diff --git a/git.zig b/git.zig index e2d25873b1734bc133b157122921e765271d20ad..39652f182d3edf58128513128f2c07391d6bbd2a 100644 --- a/git.zig +++ b/git.zig @@ -55,7 +55,7 @@ pub fn getHEAD(alloc: std.mem.Allocator, dir: std.fs.Dir) !CommitId { } fn ensureObjId(comptime T: type, input: string) T { - std.debug.assert(input.len == 40); + extras.assertLog(input.len == 40, input); return .{ .id = input[0..40] }; }