Move core_partial_clone_filter_default to promisor-remote.c

Now that we can have a different default partial clone filter for
each promisor remote, let's hide core_partial_clone_filter_default
as a static in promisor-remote.c to avoid it being use for
anything other than managing backward compatibility.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Christian Couder
2019-06-25 15:40:39 +02:00
committed by Junio C Hamano
parent 60b7a92d84
commit 4ca9474efa
4 changed files with 5 additions and 7 deletions

View File

@ -961,7 +961,6 @@ extern int grafts_replace_parents;
#define GIT_REPO_VERSION 0
#define GIT_REPO_VERSION_READ 1
extern int repository_format_precious_objects;
extern const char *core_partial_clone_filter_default;
extern int repository_format_worktree_config;
/*