| author | |
| committer | |
| log | 4f442a6f01c817b9e1a532f8866d2fcbcf2d8832 |
| tree | 92b6cdd302214506bd3aa034fc8a2920535e0cf7 |
| parent | e09ba5bf6876eee6d0302880878d12618329c92b |
1 files changed, 1 insertions(+), 1 deletions(-)
git.zig+1-1| ... | ... | @@ -96,7 +96,7 @@ pub fn getHEAD(alloc: std.mem.Allocator, dir: nfs.Dir) !?CommitId { |
| 96 | 96 | return ensureObjId(CommitId, h); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | fn ensureObjId(comptime T: type, input: string) T { | |
| 99 | pub fn ensureObjId(comptime T: type, input: string) T { | |
| 100 | 100 | extras.assertLog(input.len == 40, "ensureObjId: {s}", .{input}); |
| 101 | 101 | return .{ .id = input[0..40] }; |
| 102 | 102 | } |