Sha256: 0bfcac06ba9c0c9a42a885b037cc669803571f09c6496a56cf5a01f434ebb86b
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
module GitBundle module Commands class Generic include GitBundle::Console def initialize(repositories, args) @repositories = repositories @args = args end def invoke errors = [] @repositories.each do |repo| puts_repo_heading(repo) puts repo.execute_git(@args.join(' ')) errors << repo.name unless $?.exitstatus == 0 end puts_error "Command failed in #{errors.join(', ')}." unless errors.empty? end end end end
Version data entries
4 entries across 4 versions & 1 rubygems