Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2019-06-25 16:40:29 +0300
committerJunio C Hamano <gitster@pobox.com>2019-06-26 00:05:37 +0300
commit9cfebc1f3b2b60290b6321b95e5038b6e5b758ab (patch)
tree393cc21d066fc0fa79118121343304c6f7a013df /promisor-remote.h
parent9e27beaa2344dc6dd422d7711a666c082785118f (diff)
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,