This commit is contained in:
matthew 2019-10-28 18:02:47 -05:00
parent 9cac895406
commit e0bcacf79f

View file

@ -168,7 +168,7 @@ static SourceInfo fetchInput(EvalState & state, const FlakeRef & resolvedRef)
return info; return info;
}; };
// This only downloads only one revision of the repo, not the entire history. // This only downloads one revision of the repo, not the entire history.
if (auto refData = std::get_if<FlakeRef::IsGitHub>(&resolvedRef.data)) { if (auto refData = std::get_if<FlakeRef::IsGitHub>(&resolvedRef.data)) {
return doGit(exportGitHub(state.store, refData->owner, refData->repo, resolvedRef.ref, resolvedRef.rev)); return doGit(exportGitHub(state.store, refData->owner, refData->repo, resolvedRef.ref, resolvedRef.rev));
} }