about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-09 19:32:18 +0000
committerEric Wong <e@80x24.org>2014-04-09 19:32:18 +0000
commit44723a3a3343a6b7a923d33da2bdac0c81bdc5f6 (patch)
tree7947101e207be72fd0452613ef706349bce81ff8 /lib
parente07bf5280004c81d144fff9be266d81196c9f95d (diff)
downloadpublic-inbox-44723a3a3343a6b7a923d33da2bdac0c81bdc5f6.tar.gz
We will be using it when setting GIT_COMMITTER_NAME
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Config.pm3
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;
 }