Do not crash list view when seeing a fully empty git repository
authorChristian Weiske <cweiske@cweiske.de>
Wed, 19 Apr 2017 16:33:22 +0000 (18:33 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 19 Apr 2017 16:33:22 +0000 (18:33 +0200)
commitade89bd51686796f30dc26b0f5c65eb9b6f66f21
treecbdd90e941891510a3206f387ca6ba0a10b9850d
parent8a4d28fa14e4b0053d5fb9753535124b6bcbfe5e
Do not crash list view when seeing a fully empty git repository

This is not a good way to handle it, but makes phorkie more resilient
against invalid data.

Resolves: https://github.com/cweiske/phorkie/issues/24
src/phorkie/Repositories.php