264
273
std::string top_dir = this->FindTopDir();
265
274
const char* git = this->CommandLineTool.c_str();
266
char const* git_submodule[] = {git, "submodule", "update", 0};
278
if(this->GetGitVersion() < cmCTestGITVersion(1,6,5,0))
288
char const* git_submodule[] = {git, "submodule", "update", recursive, 0};
267
289
OutputLogger submodule_out(this->Log, "submodule-out> ");
268
290
OutputLogger submodule_err(this->Log, "submodule-err> ");
269
291
return this->RunChild(git_submodule, &submodule_out, &submodule_err,