Sha256: dfe42d923a684a345688d9026307437c38a306cf414cbae449a45fadb915f7ca

Contents?: true

Size: 278 Bytes

Versions: 7

Compression:

Stored size: 278 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, 'read')
dir = find_repository_dir(project_name, repository_name)
exec "git-upload-pack #{dir}"

Version data entries

7 entries across 7 versions & 1 rubygems

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