Browse Source

Fix tests

Jordi Boggiano 9 years ago
parent
commit
e4711326a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Downloader/GitDownloader.php

+ 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());
         }