From a83af0cef3deec33c7c3acd422754ac12e155237 Mon Sep 17 00:00:00 2001 From: Klaus Silveira Date: Sat, 1 Jun 2013 13:42:42 -0300 Subject: [PATCH] Fixes #213 --- src/GitList/Git/Client.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GitList/Git/Client.php b/src/GitList/Git/Client.php index 36b5cf3..88bf508 100644 --- a/src/GitList/Git/Client.php +++ b/src/GitList/Git/Client.php @@ -65,6 +65,10 @@ class Client extends BaseClient continue; } + if (!$file->isReadable()) { + continue; + } + if ($file->isDir()) { $isBare = file_exists($file->getPathname() . '/HEAD'); $isRepository = file_exists($file->getPathname() . '/.git/HEAD');