]> Sergey Matveev's repositories - public-inbox.git/commit
fetch: support --exit-code switch
authorEric Wong <e@80x24.org>
Wed, 15 Sep 2021 21:35:55 +0000 (21:35 +0000)
committerEric Wong <e@80x24.org>
Wed, 15 Sep 2021 23:12:51 +0000 (23:12 +0000)
commit6393ec8118e7f5481ab476c2d73614c89c64866f
tree691feeb1756ee9366ba6546d29f5fb03447fcbe8
parentae6cd61cf7cb9988d6e9178dbdeebfb6109e74da
fetch: support --exit-code switch

As noted in the new manpage entry, this is useful for avoiding
public-inbox-index invocations when there's nothing to update.
We use 127 to match "grok-pull", and also because it doesn't
conflict with any of the current curl(1) exit codes.
Documentation/public-inbox-fetch.pod
lib/PublicInbox/Fetch.pm
script/public-inbox-fetch
t/lei-mirror.t
t/v2mirror.t