summaryrefslogtreecommitdiff
path: root/promisor-remote.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2020-09-22 03:03:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-09-22 05:32:49 (GMT)
commit625e7f148e46c7e09f817ce6ab25f14d4e753f1e (patch)
tree9f955005cc479bc18ed740f3ee47e3e5eab81d37 /promisor-remote.h
parent385c171a018f2747b329bcfa6be8eda1709e5abd (diff)
downloadgit-625e7f148e46c7e09f817ce6ab25f14d4e753f1e.zip
git-625e7f148e46c7e09f817ce6ab25f14d4e753f1e.tar.gz
git-625e7f148e46c7e09f817ce6ab25f14d4e753f1e.tar.bz2
promisor-remote: remove unused variable
The variable core_partial_clone_filter_default has been unused since fa3d1b63e8 ("promisor-remote: parse remote.*.partialclonefilter", 2019-06-25), when Git was changed to refer to remote.*.partialclonefilter as the default filter when fetching in a partial clone, but (perhaps inadvertently) there was no fallback to core.partialclonefilter. One alternative is to add the fallback, but the aforementioned change was made more than a year ago and I have not heard of any complaints regarding this matter. In addition, there is currently no mention of core.partialclonefilter in the user documentation. So it seems best to reaffirm that Git will only support remote.*.partialclonefilter. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'promisor-remote.h')
-rw-r--r--promisor-remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/promisor-remote.h b/promisor-remote.h
index 6343c47..c7a1406 100644
--- a/promisor-remote.h
+++ b/promisor-remote.h
@@ -9,7 +9,7 @@ struct object_id;
* Promisor remote linked list
*
* Information in its fields come from remote.XXX config entries or
- * from extensions.partialclone or core.partialclonefilter.
+ * from extensions.partialclone.
*/
struct promisor_remote {
struct promisor_remote *next;