private function fetchNameStatusFromCommit($commitId, GitRepository $git)
    {
        $arguments = [
            $git->getConfig()->getGitExecutablePath(),
            'show',
            $commitId,
            '-M',
            '--name-status',
            '--format='
        ];

        // git show $commitId -M --name-status --format=''
        return $this->runCustomGit($arguments, $git);
    }
private function fetchNameStatusFromCommit($commitId, GitRepository $git)
    {
        $arguments = [
            $git->getConfig()->getGitExecutablePath(),
            'show',
            $commitId,
            '-M',
            '--name-status',
            '--format='
        ];

        // git show $commitId -M --name-status --format=''
        return $this->runCustomGit($arguments, $git);
    }
private function fetchNameStatusFromCommit ( $ commitId , GitRepository $ git ) { $ arguments = [ $ git -> getConfig ( ) -> getGitExecutablePath ( ) , 'show' , $ commitId , '-M' , '--name-status' , '--format=' ] ; // git show $commitId -M --name-status --format='' return $ this -> runCustomGit ( $ arguments , $ git ) ; }
Fetch the file names with status from the commit.

@param string        $commitId The commit identifier.
@param GitRepository $git      The git repository.

@return string
Fetch the file names with status from the commit .