Преглед на файлове

Reset state after applying stash, fixes #1254

Jordi Boggiano преди 12 години
родител
ревизия
b8a408883c
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/Composer/Downloader/GitDownloader.php

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

@@ -157,6 +157,7 @@ class GitDownloader extends VcsDownloader
             if (0 !== $this->process->execute('git stash pop', $output, $path)) {
                 throw new \RuntimeException("Failed to apply stashed changes:\n\n".$this->process->getErrorOutput());
             }
+            $this->hasStashedChanges = false;
         }
     }