path: root/builtin
diff options
authorJunio C Hamano <>2020-10-05 21:01:53 (GMT)
committerJunio C Hamano <>2020-10-05 21:01:53 (GMT)
commite68f0a4e574f38beeac513e824b685965dda31b7 (patch)
tree91c653dc49ef9a5e1b9d6f5354823d93f480540c /builtin
parent300cd14ee92eaa0e56688078e967402371488013 (diff)
parent23547c40518ac04a20acf2f688114f5d97b61f24 (diff)
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')
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index d5bf526..25fa1cf 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);