promisor-remote: add promisor_remote_reinit()

We will need to reinitialize the promisor remote configuration
as we will make some changes to it in a later commit.

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:29 +02:00
committed by Junio C Hamano
parent 9e27beaa23
commit 9cfebc1f3b
2 changed files with 21 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ struct promisor_remote {
const char name[FLEX_ARRAY];
};
extern void promisor_remote_reinit(void);
extern struct promisor_remote *promisor_remote_find(const char *remote_name);
extern int has_promisor_remote(void);
extern int promisor_remote_get_direct(struct repository *repo,