summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-10-05 14:01:53 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-10-05 14:01:53 -0700
commite68f0a4e574f38beeac513e824b685965dda31b7 (patch)
tree91c653dc49ef9a5e1b9d6f5354823d93f480540c /builtin/fetch.c
parentMerge branch 'td/submodule-update-quiet' (diff)
parentfetch: do not override partial clone filter (diff)
downloadtgif-e68f0a4e574f38beeac513e824b685965dda31b7.tar.xz
Merge branch 'jt/keep-partial-clone-filter-upon-lazy-fetch'
The lazy fetching done internally to make missing objects available in a partial clone incorrectly made permanent damage to the partial clone filter in the repository, which has been corrected. * jt/keep-partial-clone-filter-upon-lazy-fetch: fetch: do not override partial clone filter promisor-remote: remove unused variable
Diffstat (limited to 'builtin/fetch.c')
-rw-r--r--builtin/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index d5bf526277..25fa1cf931 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -1684,7 +1684,7 @@ static inline void fetch_one_setup_partial(struct remote *remote)
* If this is a partial-fetch request, we enable partial on
* this repo if not already enabled and remember the given
* filter-spec as the default for subsequent fetches to this
- * remote.
+ * remote if there is currently no default filter-spec.
*/
if (filter_options.choice) {
partial_clone_register(remote->name, &filter_options);