commands/git-receive-pack.rb in hubbard-0.0.6 vs commands/git-receive-pack.rb in hubbard-0.0.7
- old
+ new
@@ -1,5 +1,5 @@
-unless ARGV.shift =~ /(#{PROJECT_REGEX})\/(#{REPOSITORY_REGEX}).git/
+unless ARGV.shift =~ /(#{Hubbard::PROJECT_REGEX})\/(#{Hubbard::REPOSITORY_REGEX}).git/
$stderr.puts "Repository not found"
exit 1
end
project_name = $1
repository_name = $2