Jordi Boggiano 9 жил өмнө
parent
commit
e4711326a4

+ 1 - 1
src/Composer/Downloader/GitDownloader.php

@@ -104,7 +104,7 @@ class GitDownloader extends VcsDownloader implements DvcsDownloaderInterface
             return;
         }
 
-        $command = 'git status --porcelain ' . ($showUntracked ? '' : ' --untracked-files=no');
+        $command = 'git status --porcelain' . ($showUntracked ? '' : ' --untracked-files=no');
         if (0 !== $this->process->execute($command, $output, $path)) {
             throw new \RuntimeException('Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput());
         }