diff --git a/src/util/dep_type.zig b/src/util/dep_type.zig index 6b9c8de91e5446f356daa2172db5615ac6308605..30fc7d6128dbcf3d5d8b9f95719db13f9e22c377 100644 --- a/src/util/dep_type.zig +++ b/src/util/dep_type.zig @@ -80,7 +80,7 @@ pub const DepType = enum { return switch (self) { .local => "", .system_lib => "", - .git => try std.fmt.allocPrint(gpa, "commit-{s}", .{(try u.git_rev_HEAD(gpa, mdir))[0..7]}), + .git => try std.fmt.allocPrint(gpa, "commit-{s}", .{(try u.git_rev_HEAD(gpa, mdir))}), .hg => "", .http => "", };