about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-11-28 05:32:10 +0000
committerEric Wong <e@80x24.org>2022-11-28 23:38:58 +0000
commit37131af8eb12f6b0d715fd291c885cafec8be577 (patch)
tree814dfa71c702faf1e0367897814a5d75178df768 /Documentation
parentaa82a5a136595d935705e8c9fbffe362e44b8917 (diff)
downloadpublic-inbox-37131af8eb12f6b0d715fd291c885cafec8be577.tar.gz
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.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/public-inbox-clone.pod7
-rw-r--r--Documentation/public-inbox-fetch.pod6
2 files changed, 13 insertions, 0 deletions
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<DESTINATION> directory.  If only C<--manifest => is specified
 where C<FILE > is an empty string (C<"">), then C<manifest.js.gz>
 (C<$DESTINATION/manifest.js.gz>) is the implied value of C<FILE>.
 
+=item -p
+
+=item --prune
+
+Pass the C<--prune> and C<--prune-tags> flags to L<git-fetch(1)>
+calls on incremental clones.
+
 =item -n
 
 =item --dry-run
diff --git a/Documentation/public-inbox-fetch.pod b/Documentation/public-inbox-fetch.pod
index c78ffc0b..c5e73d38 100644
--- a/Documentation/public-inbox-fetch.pod
+++ b/Documentation/public-inbox-fetch.pod
@@ -61,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<git-fetch(1)> calls.
+
 =item -v
 
 =item --verbose