about summary refs log tree commit homepage
path: root/script/public-inbox-learn
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-14 03:02:42 +0000
committerEric Wong <e@80x24.org>2016-05-14 03:02:42 +0000
commitf850effe0baef8a37ad2eef3ef581b79539cc304 (patch)
treea48cd68e39795771c280b2cf8ecdf8e1595a0264 /script/public-inbox-learn
parent9bfe40e7a4ace33fe3bd31e8589703fa5ef53d2a (diff)
downloadpublic-inbox-f850effe0baef8a37ad2eef3ef581b79539cc304.tar.gz
A public-inbox is NOT necessarily a mailing list, but it
could serve as an input point for zero, one, or infinite
mailing lists :D
Diffstat (limited to 'script/public-inbox-learn')
-rwxr-xr-xscript/public-inbox-learn2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-learn b/script/public-inbox-learn
index 0af1e94c..1c051ec1 100755
--- a/script/public-inbox-learn
+++ b/script/public-inbox-learn
@@ -51,7 +51,7 @@ foreach my $recipient (keys %dests) {
         my $git = PublicInbox::Git->new($git_dir);
         # We do not touch GIT_COMMITTER_* env here so we can track
         # who trained the message.
-        my $name = $ENV{GIT_COMMITTER_NAME} || $dst->{listname};
+        my $name = $ENV{GIT_COMMITTER_NAME} || $dst->{inbox};
         my $email = $ENV{GIT_COMMITTER_EMAIL} || $recipient;
         my $im = PublicInbox::Import->new($git, $name, $email);