public function getChangedFiles(string $from, string $to): array
    {
        $cmd    = (new ChangedFiles($this->repo->getRoot()))->fromRevision($from)->toRevision($to);
        $result = $this->runner->run($cmd);

        return $result->getBufferedOutput();
    }
public function getChangedFiles(string $from, string $to): array
    {
        $cmd    = (new ChangedFiles($this->repo->getRoot()))->fromRevision($from)->toRevision($to);
        $result = $this->runner->run($cmd);

        return $result->getBufferedOutput();
    }
public function getChangedFiles ( string $ from , string $ to ) : array { $ cmd = ( new ChangedFiles ( $ this -> repo -> getRoot ( ) ) ) -> fromRevision ( $ from ) -> toRevision ( $ to ) ; $ result = $ this -> runner -> run ( $ cmd ) ; return $ result -> getBufferedOutput ( ) ; }
Uses 'diff-tree' to list the files that changed between two revisions

@param  string $from
@param  string $to
@return string[]
Uses diff - tree to list the files that changed between two revisions