Sha256: b048e8ad5c93fc0e58d680ea7e78a477cfd15b3e02afa2ec0720d084877c394a

Contents?: true

Size: 541 Bytes

Versions: 23

Compression:

Stored size: 541 Bytes

Contents

# frozen_string_literal: true

require 'avm/git/subrepo_checks'
require 'eac_git/local'

module Avm
  module Git
    module Issue
      class Complete
        module GitSubrepos
          def git_subrepos_result
            return ::Avm::Result.error('Unclean workspace') unless clean_workspace?

            infom 'Checking Git subrepos...'
            r = ::Avm::Git::SubrepoChecks.new(::EacGit::Local.new(@git)).add_all_subrepos
            r.check_remote = true
            r.result
          end
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
avm-tools-0.103.1 lib/avm/git/issue/complete/git_subrepos.rb
avm-tools-0.103.0 lib/avm/git/issue/complete/git_subrepos.rb
avm-tools-0.102.2 lib/avm/git/issue/complete/git_subrepos.rb