authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2021-07-14 01:38:11 -07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2021-07-14 01:38:11 -07:00
logfa8035cc4a49cfe5aa1099e9c598f5f5b50149cd
tree3b44505975b389bbb0b83bc3cbf82ca5ebf23a00
parent0dbf11e0f380dcc3824f7f0bc2a32055d631d037
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

cmd/fetch- make it so lockfile generation contains the full commit hash


1 files changed, 1 insertions(+), 1 deletions(-)

src/util/dep_type.zig+1-1
...@@ -80,7 +80,7 @@ pub const DepType = enum {...@@ -80,7 +80,7 @@ pub const DepType = enum {
80 return switch (self) {80 return switch (self) {
81 .local => "",81 .local => "",
82 .system_lib => "",82 .system_lib => "",
83 .git => try std.fmt.allocPrint(gpa, "commit-{s}", .{(try u.git_rev_HEAD(gpa, mdir))[0..7]}),83 .git => try std.fmt.allocPrint(gpa, "commit-{s}", .{(try u.git_rev_HEAD(gpa, mdir))}),
84 .hg => "",84 .hg => "",
85 .http => "",85 .http => "",
86 };86 };