aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-fetch-pack.txt
diff options
context:
space:
mode:
authorRobert Coup <robert@coup.net.nz>2022-03-28 14:02:07 +0000
committerJunio C Hamano <gitster@pobox.com>2022-03-28 10:25:52 -0700
commit869a0eb4ebddad9ea758464526524ed06f5a13a9 (patch)
treed8a51013b45312e0b4b2d26c1c8a5fbd1d1e4469 /Documentation/git-fetch-pack.txt
parent4dfd0925cbba78cc737e3af29faa5774bbc7b6a3 (diff)
downloadgit-869a0eb4ebddad9ea758464526524ed06f5a13a9.tar.gz
builtin/fetch-pack: add --refetch option
Add a refetch option to fetch-pack to force a full fetch. Use when applying a new partial clone filter to refetch all matching objects. Signed-off-by: Robert Coup <robert@coup.net.nz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fetch-pack.txt')
-rw-r--r--Documentation/git-fetch-pack.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-fetch-pack.txt b/Documentation/git-fetch-pack.txt
index c975884793..46747d5f42 100644
--- a/Documentation/git-fetch-pack.txt
+++ b/Documentation/git-fetch-pack.txt
@@ -101,6 +101,10 @@ be in a separate packet, and the list must end with a flush packet.
current shallow boundary instead of from the tip of each
remote branch history.
+--refetch::
+ Skips negotiating commits with the server in order to fetch all matching
+ objects. Use to reapply a new partial clone blob/tree filter.
+
--no-progress::
Do not show the progress.