Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Try harder to detect git URLs in Fetcher
  • Loading branch information
Geoffrey Broadwell committed Aug 21, 2012
1 parent 682dbf4 commit 025c83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Panda/Fetcher.pm
Expand Up @@ -17,7 +17,7 @@ class Panda::Fetcher does Pies::Fetcher {
my $type = $p.metainfo<source-type> // $p.metainfo<repo-type>;
unless $type {
given $url {
when /^git:/ {
when /^ [ 'git:' | 'http' 's'? '://github.com/' ] / {
$type = 'git';
}
default {
Expand Down

0 comments on commit 025c83b

Please sign in to comment.