Method: Autobuild::Git.run_git_bare

Defined in:
lib/autobuild/import/git.rb

.run_git_bare(package, *args) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

(see Git#run_git_bare)



568
569
570
571
572
573
574
575
576
577
578
579
# File 'lib/autobuild/import/git.rb', line 568

def self.run_git_bare(package, *args)
    options =
        if args.last.kind_of?(Hash)
            args.pop
        else
            Hash.new
        end

    package.run(:import, Autobuild.tool(:git),
                '--git-dir', git_dir(package, false),
                *args, Hash[resolved_env: Hash.new].merge(options))
end