Merge pull request #3173 from mkenigs/typo

fix typo
This commit is contained in:
Eelco Dolstra 2019-11-05 11:17:26 +01:00 committed by GitHub
commit 72748b4088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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