about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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 0bd6502c..464ffe12 100644
--- a/lib/PublicInbox/Fetch.pm
+++ b/lib/PublicInbox/Fetch.pm
@@ -112,10 +112,10 @@ sub do_fetch { # main entry point
                                 $skip->{$nr} = 1;
                                 next;
                         }
+                        next if defined $git_url;
                         if (defined(my $url = remote_url($lei, $edir))) {
                                 $git_url = $url;
                                 $epoch = $nr;
-                                last;
                         } else {
                                 warn "W: $edir missing remote.origin.url\n";
                         }