Sha256: 15637e19484fd7b51eba7381cc9cb71121b5b01b0789b37b58647401010e24af

Contents?: true

Size: 448 Bytes

Versions: 11

Compression:

Stored size: 448 Bytes

Contents

module GitBundle
  module Commands
    class Generic
      include GitBundle::Console

      def initialize(project, args)
        @project = project
        @args = args
      end

      def invoke
        @project.load_dependant_repositories

        parallel(@project.repositories) do |repo|
          output = repo.execute_git(@args, color: true)
          ExecutionResult.new($?.exitstatus != 0, output)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
git-bundle-1.0.20 lib/git_bundle/commands/generic.rb
git-bundle-1.0.19 lib/git_bundle/commands/generic.rb
git-bundle-1.0.18 lib/git_bundle/commands/generic.rb
git-bundle-1.0.16 lib/git_bundle/commands/generic.rb
git-bundle-1.0.15 lib/git_bundle/commands/generic.rb
git-bundle-1.0.14 lib/git_bundle/commands/generic.rb
git-bundle-1.0.13 lib/git_bundle/commands/generic.rb
git-bundle-1.0.12 lib/git_bundle/commands/generic.rb
git-bundle-1.0.11 lib/git_bundle/commands/generic.rb
git-bundle-1.0.10 lib/git_bundle/commands/generic.rb
git-bundle-1.0.9 lib/git_bundle/commands/generic.rb