authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-21 16:16:55 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-21 16:16:55 -08:00
log36cbab3db222c092a51084b1532e5b199de23199
tree19acde6ef7e462efccee5af1f225f29eac233948
parent3067870757cf26d522e0bea5d99da52080da543e

fetch: dont skip early on version folder due to branches


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

src/cmd_fetch.zig-4
...@@ -70,10 +70,6 @@ fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module {...@@ -70,10 +70,6 @@ fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module {
70 moddir = p;70 moddir = p;
71 switch (d.type) {71 switch (d.type) {
72 .git => blk: {72 .git => blk: {
73 if (try u.does_file_exist(pv)) {
74 moddir = pv;
75 break :blk;
76 }
77 if (!try u.does_file_exist(p)) {73 if (!try u.does_file_exist(p)) {
78 _ = try run_cmd(null, &[_][]const u8{"git", "clone", d.path, p});74 _ = try run_cmd(null, &[_][]const u8{"git", "clone", d.path, p});
79 }75 }