From 37131af8eb12f6b0d715fd291c885cafec8be577 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 28 Nov 2022 05:32:10 +0000 Subject: clone|fetch: support passing --prune(-tags) to `git fetch' We need to be able to get rid of removed branches and tags on the remote. --prune-tags is implied for non-objstore repos, and incompatible with objstore repos. --- Documentation/public-inbox-clone.pod | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Documentation/public-inbox-clone.pod') diff --git a/Documentation/public-inbox-clone.pod b/Documentation/public-inbox-clone.pod index 9288b175..bcf7dcc1 100644 --- a/Documentation/public-inbox-clone.pod +++ b/Documentation/public-inbox-clone.pod @@ -104,6 +104,13 @@ C directory. If only C<--manifest => is specified where C is an empty string (C<"">), then C (C<$DESTINATION/manifest.js.gz>) is the implied value of C. +=item -p + +=item --prune + +Pass the C<--prune> and C<--prune-tags> flags to L +calls on incremental clones. + =item -n =item --dry-run -- cgit v1.2.3-24-ge0c7