Message ID | da1e6de7a9f87c4d5a1970fba17380c3ea7b76ca.1648476132.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4963d3e41fa454500760fe6f8fb1bab890c1c3eb |
Headers | show |
Series | fetch: add repair: full refetch without negotiation (was: "refiltering") | expand |
"Robert Coup via GitGitGadget" <gitgitgadget@gmail.com> writes: > remote.<name>.partialclonefilter:: > - The filter that will be applied when fetching from this > - promisor remote. > + The filter that will be applied when fetching from this promisor remote. > + Changing or clearing this value will only affect fetches for new commits. > + To fetch associated objects for commits already present in the local object > + database, use the `--refetch` option of linkgit:git-fetch[1]. Good advice to add. Will replace. I think we've seen this topic enough times and it looked reasonably well done. Let's mark it for 'next' unless we hear objections soonish.
diff --git a/Documentation/config/remote.txt b/Documentation/config/remote.txt index a8e6437a903..0678b4bcfef 100644 --- a/Documentation/config/remote.txt +++ b/Documentation/config/remote.txt @@ -82,5 +82,7 @@ remote.<name>.promisor:: objects. remote.<name>.partialclonefilter:: - The filter that will be applied when fetching from this - promisor remote. + The filter that will be applied when fetching from this promisor remote. + Changing or clearing this value will only affect fetches for new commits. + To fetch associated objects for commits already present in the local object + database, use the `--refetch` option of linkgit:git-fetch[1]. diff --git a/Documentation/technical/partial-clone.txt b/Documentation/technical/partial-clone.txt index a0dd7c66f24..99f0eb30406 100644 --- a/Documentation/technical/partial-clone.txt +++ b/Documentation/technical/partial-clone.txt @@ -181,6 +181,9 @@ Fetching Missing Objects currently fetches all objects referred to by the requested objects, even though they are not necessary. +- Fetching with `--refetch` will request a complete new filtered packfile from + the remote, which can be used to change a filter without needing to + dynamically fetch missing objects. Using many promisor remotes ---------------------------