mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 19:20:56 +01:00
Fixes #213
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user