This is an automated email from the git hooks/post-receive script. abe pushed a commit to annotated tag 0.32 in repository libdist-zilla-plugin-githubmeta-perl.
commit 5d555a1a0fb6b8a514e524b87889b90bfee2c851 Author: Olivier Mengué <dol...@cpan.org> Date: Thu Jul 18 00:30:48 2013 +0200 Optimize _url_for_remote: use git plumbing command --- lib/Dist/Zilla/Plugin/GithubMeta.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Dist/Zilla/Plugin/GithubMeta.pm b/lib/Dist/Zilla/Plugin/GithubMeta.pm index 4afde71..3f4be72 100644 --- a/lib/Dist/Zilla/Plugin/GithubMeta.pm +++ b/lib/Dist/Zilla/Plugin/GithubMeta.pm @@ -125,7 +125,8 @@ sub metadata { sub _url_for_remote { my ($self, $remote) = @_; - my ($url) = `git remote show -n $remote` =~ /URL: (.*)$/m; + my $url = `git config --get remote.$remote.url`; + chomp $url; return $url; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-githubmeta-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits