about summary refs log tree commit homepage
path: root/lib/PublicInbox/Fetch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-12 10:53:34 +0000
committerEric Wong <e@80x24.org>2021-09-12 11:55:16 +0000
commit3937f58b74e4b764e76ade523fec8497aa1b0611 (patch)
treec337cfa411076a0369ee95fdbfec083ecbfbabb9 /lib/PublicInbox/Fetch.pm
parent4f27b9d8a7046c92033bbeb3caa90b4588a41f30 (diff)
downloadpublic-inbox-3937f58b74e4b764e76ade523fec8497aa1b0611.tar.gz
It was also totally broken by the change to use manifest.js.gz
for v1 :x

Fixes: ffb7fbda6869db4b ("fetch: use manifest.js.gz for v1")
Diffstat (limited to 'lib/PublicInbox/Fetch.pm')
-rw-r--r--lib/PublicInbox/Fetch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Fetch.pm b/lib/PublicInbox/Fetch.pm
index 2c6ae86a..4d501108 100644
--- a/lib/PublicInbox/Fetch.pm
+++ b/lib/PublicInbox/Fetch.pm
@@ -148,7 +148,7 @@ EOM
                         $cmd = [ @$torsocks, fetch_cmd($lei, $opt) ];
                 } else {
                         my $e_uri = $ibx_uri->clone;
-                        my ($epath) = ($d =~ m!/(git/[0-9]+\.git)\z!);
+                        my ($epath) = ($d =~ m!(/git/[0-9]+\.git)\z!);
                         defined($epath) or
                                 die "BUG: $d is not an epoch to clone\n";
                         $e_uri->path($ibx_uri->path.$epath);