From ba1a1efbcd23ab472b3c5c030082a9064462680b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 5 Jan 2023 11:41:57 +0000 Subject: clone: implement --exit-code Since public-inbox-clone is now useful for incremental updates with manifest, --exit-code belongs here, too. --- Documentation/public-inbox-clone.pod | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Documentation') diff --git a/Documentation/public-inbox-clone.pod b/Documentation/public-inbox-clone.pod index 53acf356..7498aed9 100644 --- a/Documentation/public-inbox-clone.pod +++ b/Documentation/public-inbox-clone.pod @@ -136,6 +136,12 @@ order specified on the command-line. Pass the C<--prune> and C<--prune-tags> flags to L calls on incremental clones. +=item --exit-code + +Exit with C<127> if no updates are done when relying on a manifest. +Updates include fingerprint mismatches in the manifest, new symlinks, +new repositories, and removed repositories from the L<--project-list> + =item -k =item --keep-going -- cgit v1.2.3-24-ge0c7