Diffstat (limited to 'shared.c')
| -rw-r--r-- | shared.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -13,18 +13,6 @@ struct cgit_repolist cgit_repolist; struct cgit_context ctx; -/* Returns true when the git repository belonging to this request was opened - * successfully. Some requests print a page for a repository which could not - * be opened, e.g. because repo.path is wrong, and the object database and - * ref stores must not be touched in that case: they would abort with - * "reference backend is unknown" or dereference the not yet known hash - * algorithm. - */ -int cgit_have_repository(void) -{ - return startup_info->have_repository; -} - int chk_zero(int result, char *msg) { if (result != 0) |