diff options
author | Christian Couder <christian.couder@gmail.com> | 2019-06-25 15:40:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-25 23:05:37 +0200 |
commit | 9cfebc1f3b2b60290b6321b95e5038b6e5b758ab (patch) | |
tree | 393cc21d066fc0fa79118121343304c6f7a013df /promisor-remote.h | |
parent | promisor-remote: implement promisor_remote_get_direct() (diff) | |
download | git-9cfebc1f3b2b60290b6321b95e5038b6e5b758ab.tar.xz git-9cfebc1f3b2b60290b6321b95e5038b6e5b758ab.zip |
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>
Diffstat (limited to 'promisor-remote.h')
-rw-r--r-- | promisor-remote.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/promisor-remote.h b/promisor-remote.h index ed4ecead36..dddd4048e0 100644 --- a/promisor-remote.h +++ b/promisor-remote.h @@ -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, |