Sha256: 5940d88bbb36fd033e56ec110eb0025d5b3ac68b6aa7b0818666be561e7a2d32

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

unless ARGV.shift =~ /(#{PROJECT_REGEX})\/(#{REPOSITORY_REGEX}).git/
  $stderr.puts "Repository not found"
  exit 1
end
project_name = $1
repository_name = $2
authorize(project_name, 'write')
dir = find_repository_dir(project_name, repository_name)
exec "git-receive-pack #{dir}"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hubbard-0.0.6 commands/git-receive-pack.rb
hubbard-0.0.5 commands/git-receive-pack.rb
hubbard-0.0.4 commands/git-receive-pack.rb
hubbard-0.0.3 commands/git-receive-pack.rb
hubbard-0.0.2 commands/git-receive-pack.rb
hubbard-0.0.1 commands/git-receive-pack.rb
hubbard-0.0.0 commands/git-receive-pack.rb