diff options
author | Eric Wong <e@80x24.org> | 2021-09-24 10:56:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-09-24 23:22:06 +0000 |
commit | 3f7ba918e134e9f86c1f2bc90a89ae94f0c2dbf6 (patch) | |
tree | 5667a1b5581f9e1eb761556638829ad980fc6deb | |
parent | 69b5ab18a594fa434d79cacee35c4d9a0df7b55c (diff) | |
download | public-inbox-3f7ba918e134e9f86c1f2bc90a89ae94f0c2dbf6.tar.gz |
We need to check every epoch for writability, so don't break out of the loop when we find a URL.
-rw-r--r-- | lib/PublicInbox/Fetch.pm | 2 |
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"; } |