lib/git/multi/report.rb in git-multi-6.0.0 vs lib/git/multi/report.rb in git-multi-7.0.0
- old
+ new
@@ -33,19 +33,22 @@
setting_status(["\tGitHub ", "#{github_count} repositories"])
setting_status(["\tcloned ", cloned_count, "(#{missing_count} missing)"])
Git::Multi.missing_repositories_for(owner).each do |missing|
setting_status(["\tmissing", missing.full_name], valid: false, optional: false)
end
+ Git::Multi.excluded_repositories_for(owner).each do |excluded|
+ setting_status(["\texcluded", excluded.full_name], valid: false, optional: false)
+ end
setting_status(["\tsubdirs", subdir_count, "(#{surplus_count} surplus)"])
end
def project_status(message, superproject)
github_count = Git::Multi.repositories_for(superproject).count
if github_count.zero?
setting_status([message, 'listed but not configured'], valid: false, optional: false)
else
- setting_status([message], true)
+ setting_status([message], valid: true)
Git::Multi.repositories_for(superproject).each do |repo|
if File.directory? repo.local_path
setting_status(["\tcloned ", repo.full_name], valid: true)
else
setting_status(["\tmissing", repo.full_name], valid: false, optional: false)