From f57e272ce7a88d4131bb0292d7142390b1541032 Mon Sep 17 00:00:00 2001 From: Nami-Doc Date: Thu, 5 Apr 2012 18:02:05 +0300 Subject: [PATCH] Add a little more explaining message when failing to download. --- src/Composer/Downloader/GitDownloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Downloader/GitDownloader.php b/src/Composer/Downloader/GitDownloader.php index 76c62033e..520c8fca3 100644 --- a/src/Composer/Downloader/GitDownloader.php +++ b/src/Composer/Downloader/GitDownloader.php @@ -93,7 +93,7 @@ class GitDownloader extends VcsDownloader $this->filesystem->removeDirectory($path); } } - throw new \RuntimeException('Failed to checkout ' . $url .' via git, https and http protocols, aborting.' . "\n\n" . $this->process->getErrorOutput()); + throw new \RuntimeException('Failed to checkout ' . $url .' via git, https and http protocols, aborting. Please check your git installation, and its accessibility through the console' . "\n\n" . $this->process->getErrorOutput()); } $command = call_user_func($commandCallable, $url);