summaryrefslogtreecommitdiff
path: root/promisor-remote.h
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2019-06-25 15:40:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-06-25 14:05:37 -0700
commit9cfebc1f3b2b60290b6321b95e5038b6e5b758ab (patch)
tree393cc21d066fc0fa79118121343304c6f7a013df /promisor-remote.h
parentpromisor-remote: implement promisor_remote_get_direct() (diff)
downloadtgif-9cfebc1f3b2b60290b6321b95e5038b6e5b758ab.tar.xz
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.h1
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,