Rename fetchGit fetchSubmodules to just submodules

This commit is contained in:
Julian Stecklina
2020-03-29 22:29:58 +02:00
committed by Julian Stecklina
parent c846abb5cc
commit 435366ed3c
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ static void prim_fetchGit(EvalState & state, const Pos & pos, Value * * args, Va
rev = state.forceStringNoCtx(*attr.value, *attr.pos);
else if (n == "name")
name = state.forceStringNoCtx(*attr.value, *attr.pos);
else if (n == "fetchSubmodules")
else if (n == "submodules")
fetchSubmodules = state.forceBool(*attr.value, *attr.pos);
else
throw EvalError("unsupported argument '%s' to 'fetchGit', at %s", attr.name, *attr.pos);