require PublicInbox::Git;
sub new {
- my ($class, $name, $git_dir, $address, $url) = @_;
+ my ($class, $newsgroup, $git_dir, $address, $url) = @_;
# first email address is preferred
$address = $address->[0] if ref($address);
$url .= '/' if $url !~ m!/\z!;
}
my $self = bless {
- name => $name,
+ newsgroup => $newsgroup,
git_dir => $git_dir,
address => $address,
url => $url,