Updated \ncc\Classes > GitClient > cloneRepositor()
to clone submodules recursively by default
This commit is contained in:
parent
2fb56d3543
commit
05d05e33b1
2 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,7 @@ namespace ncc\Classes;
|
|||
{
|
||||
Console::outVerbose('Cloning repository: ' . $url);
|
||||
$path = Functions::getTmpDir();
|
||||
$process = new Process(["git", "clone", $url, $path]);
|
||||
$process = new Process(["git", "clone", "--recurse-submodules", $url, $path]);
|
||||
$process->setTimeout(3600); // 1 hour
|
||||
$process->run(function ($type, $buffer)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue