This commit is contained in:
Klaus Silveira
2013-06-01 13:42:42 -03:00
parent 5122e91b49
commit a83af0cef3

View File

@@ -65,6 +65,10 @@ class Client extends BaseClient
continue; continue;
} }
if (!$file->isReadable()) {
continue;
}
if ($file->isDir()) { if ($file->isDir()) {
$isBare = file_exists($file->getPathname() . '/HEAD'); $isBare = file_exists($file->getPathname() . '/HEAD');
$isRepository = file_exists($file->getPathname() . '/.git/HEAD'); $isRepository = file_exists($file->getPathname() . '/.git/HEAD');