From e6b5ef6a248f5808fff0483f02bd73dcbfea8c0a Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Sun, 24 Oct 2021 04:09:35 +0900
Subject: [PATCH] t/v2index-late-dedupe: don't read user's
 ~/.public-inbox/config

Otherwise things can get noisy if bad entries exist in that
file, because they do.
---
 t/v2index-late-dupe.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/v2index-late-dupe.t b/t/v2index-late-dupe.t
index c83e3409..d43e833b 100644
--- a/t/v2index-late-dupe.t
+++ b/t/v2index-late-dupe.t
@@ -10,6 +10,7 @@ require PublicInbox::Inbox;
 require PublicInbox::Git;
 my ($tmpdir, $for_destroy) = tmpdir();
 my $inboxdir = "$tmpdir/i";
+local $ENV{HOME} = $tmpdir;
 PublicInbox::Import::init_bare(my $e0 = "$inboxdir/git/0.git");
 open my $fh, '>', "$inboxdir/inbox.lock" or xbail $!;
 my $git = PublicInbox::Git->new($e0);
-- 
2.51.0