protected function checkSubSubmodules($repo, $name)
    {
        $output = $this->command('submodule foreach git submodule status');

        if ($output) {
            foreach ($output as $line) {
                $line = explode(' ', trim($line));

                if (trim($line[0]) == 'Entering') continue;

                $this->submodules[] = array(
                    'revision' => $line[0],
                    'name' => $name.'/'.$line[1],
                    'path' => $repo.'/'.$name.'/'.$line[1]
                );
                $this->ignoredFiles[] = $name.'/'.$line[1];
            }
        }
    }
protected function checkSubSubmodules($repo, $name)
    {
        $output = $this->command('submodule foreach git submodule status');

        if ($output) {
            foreach ($output as $line) {
                $line = explode(' ', trim($line));

                if (trim($line[0]) == 'Entering') continue;

                $this->submodules[] = array(
                    'revision' => $line[0],
                    'name' => $name.'/'.$line[1],
                    'path' => $repo.'/'.$name.'/'.$line[1]
                );
                $this->ignoredFiles[] = $name.'/'.$line[1];
            }
        }
    }
protected function checkSubSubmodules ( $ repo , $ name ) { $ output = $ this -> command ( 'submodule foreach git submodule status' ) ; if ( $ output ) { foreach ( $ output as $ line ) { $ line = explode ( ' ' , trim ( $ line ) ) ; if ( trim ( $ line [ 0 ] ) == 'Entering' ) continue ; $ this -> submodules [ ] = array ( 'revision' => $ line [ 0 ] , 'name' => $ name . '/' . $ line [ 1 ] , 'path' => $ repo . '/' . $ name . '/' . $ line [ 1 ] ) ; $ this -> ignoredFiles [ ] = $ name . '/' . $ line [ 1 ] ; } } }
Checks submodules of submodules

@param string $repo
@param string $name
Checks submodules of submodules