Move repository_format_partial_clone to promisor-remote.c
Now that we have has_promisor_remote() and can use many promisor remotes, let's hide repository_format_partial_clone 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:

committed by
Junio C Hamano

parent
db27dca5cf
commit
60b7a92d84
@ -22,4 +22,10 @@ extern int promisor_remote_get_direct(struct repository *repo,
|
||||
const struct object_id *oids,
|
||||
int oid_nr);
|
||||
|
||||
/*
|
||||
* This should be used only once from setup.c to set the value we got
|
||||
* from the extensions.partialclone config option.
|
||||
*/
|
||||
extern void set_repository_format_partial_clone(char *partial_clone);
|
||||
|
||||
#endif /* PROMISOR_REMOTE_H */
|
||||
|
Reference in New Issue
Block a user