about summary refs log tree commit homepage
path: root/scripts/dupe-finder
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-10-17 08:19:11 +0000
committerEric Wong <e@80x24.org>2019-10-17 08:19:11 +0000
commitfece7fca6aeac74410a813cffcb0da338017d0ed (patch)
treedd8ebebc8ec82c65ff10723faeace03eb1152ca6 /scripts/dupe-finder
parenteb424226f3bc1d4a05d1b3900634fadb2ee2c140 (diff)
parent144eddbc7abaca320773dda514589a3198c8f58c (diff)
downloadpublic-inbox-fece7fca6aeac74410a813cffcb0da338017d0ed.tar.gz
* origin/inboxdir:
  config: remove redundant inboxdir check
  config: support "inboxdir" in addition to "mainrepo"
  examples/grok-pull.post_update_hook: use "inbox_dir"
Diffstat (limited to 'scripts/dupe-finder')
-rw-r--r--scripts/dupe-finder2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dupe-finder b/scripts/dupe-finder
index 1e980936..8060a9d7 100644
--- a/scripts/dupe-finder
+++ b/scripts/dupe-finder
@@ -14,7 +14,7 @@ my $ibx;
 if (index($repo, '@') > 0) {
         $ibx = PublicInbox::Config->new->lookup($repo);
 } elsif (-d $repo) {
-        $ibx = { mainrepo => $repo, address => 'unnamed@example.com' };
+        $ibx = { inboxdir => $repo, address => 'unnamed@example.com' };
         $ibx = PublicInbox::Inbox->new($ibx);
 } else {
         $ibx = PublicInbox::Config->new->lookup_name($repo);