original_string: 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];
              }
          }
      }
code: 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];
              }
          }
      }
code_tokens: 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 ] ; } } }
docstring: Checks submodules of submodules
  
  @param string $repo
  @param string $name
docstring_tokens: Checks submodules of submodules