X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-fetch.pod;h=c5e73d38c1ae3447fdcf4d56c18b9b9681c70401;hb=e683fa9ea41f44191e32be6af37069210c4593e2;hp=28d5638dd98a8803f822194e014c09663e95f5ec;hpb=6393ec8118e7f5481ab476c2d73614c89c64866f;p=public-inbox.git diff --git a/Documentation/public-inbox-fetch.pod b/Documentation/public-inbox-fetch.pod index 28d5638d..c5e73d38 100644 --- a/Documentation/public-inbox-fetch.pod +++ b/Documentation/public-inbox-fetch.pod @@ -19,7 +19,19 @@ It does not run L, making it suitable for maintaining git-only backups. For v2 inboxes, it will maintain C<$INBOX_DIR/manifest.js.gz> -file to speed up future invocations. +file to speed up future invocations. It always safe to remove +manifest.js.gz, it is merely an optimization and will be +restored on the next invocation. + +To prevent fetches on any v2 epoch, use L to remove +write permissions to the top-level of the epoch. For example, +to disable fetches on epoch 4: + + chmod a-w $INBOX_DIR/git/4.git + +If you wish to re-enable fetches to the epoch: + + chmod u+w $INBOX_DIR/git/4.git =head1 OPTIONS @@ -31,6 +43,15 @@ file to speed up future invocations. Quiets down progress messages, also passed to L. +=item -T REMOTE + +=item --try-remote REMOTE + +Try a given remote name instead of C or C<_grokmirror>. +May be specified more than once. + +Default: C, C<_grokmirror> + =item --exit-code Exit with C<127> if no updates are done. This can be used in @@ -40,6 +61,12 @@ there are no updates: public-inbox-fetch -q --exit-code && public-inbox-index test $? -eq 0 || exit $? +=item -p + +=item --prune + +Pass the C<--prune> and C<--prune-tags> flags to L calls. + =item -v =item --verbose @@ -50,7 +77,7 @@ Increases verbosity, also passed to L. =item --no-torsocks -Whether to wrap L and L commands with torsocks. +Whether to wrap L and L commands with L. Default: C