From 3bf0b4e25b4fa4bc865167542391cbd29e40cb53 Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Sun, 23 Dec 2012 20:47:31 +0100 Subject: [PATCH] Fix satellite check for projects with empty repo Fixes #2349 --- lib/tasks/gitlab/check.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index baa706d2bee..24bad9d5bba 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -189,6 +189,8 @@ namespace :gitlab do if project.satellite.exists? puts "yes".green + elsif project.empty_repo? + puts "can't create, repository is empty".magenta else puts "no".red try_fixing_it( -- GitLab