diff options
author | Eric Wong <e@80x24.org> | 2014-04-09 19:32:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-09 19:32:18 +0000 |
commit | 44723a3a3343a6b7a923d33da2bdac0c81bdc5f6 (patch) | |
tree | 7947101e207be72fd0452613ef706349bce81ff8 /lib/PublicInbox/Config.pm | |
parent | e07bf5280004c81d144fff9be266d81196c9f95d (diff) | |
download | public-inbox-44723a3a3343a6b7a923d33da2bdac0c81bdc5f6.tar.gz |
We will be using it when setting GIT_COMMITTER_NAME
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r-- | lib/PublicInbox/Config.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index b6885a31..300dd88b 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -35,6 +35,9 @@ sub lookup { my %rv = map { $_ => $self->{"$pfx.$_"} } (qw(mainrepo description address)); + my $listname = $pfx; + $listname =~ s/\Apublicinbox\.//; + $rv{listname} = $listname; \%rv; } |