authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2021-07-14 18:09:00 -07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2021-07-14 18:09:00 -07:00
logc1d287cba6c36fa879caa1393e8e1abf1cde726f
tree0708d30443505f57e431916fcf85ff61ddf9b88b
parent447d4c38f51222e709508572b42956d146136629
parentfa8035cc4a49cfe5aa1099e9c598f5f5b50149cd
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Merge pull request #23 from nektro/nektro-lock-fullhash

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 };