]> git.ipfire.org Git - thirdparty/git.git/blobdiff - promisor-remote.h
hash-ll.h: split out of hash.h to remove dependency on repository.h
[thirdparty/git.git] / promisor-remote.h
index df36eb08efc2e194b6fc4f770235fb9707770de6..2cb9eda9ea46a9c004757693fc230dc90cebfc50 100644 (file)
@@ -18,24 +18,9 @@ struct promisor_remote {
 };
 
 void repo_promisor_remote_reinit(struct repository *r);
-static inline void promisor_remote_reinit(void)
-{
-       repo_promisor_remote_reinit(the_repository);
-}
-
 void promisor_remote_clear(struct promisor_remote_config *config);
-
 struct promisor_remote *repo_promisor_remote_find(struct repository *r, const char *remote_name);
-static inline struct promisor_remote *promisor_remote_find(const char *remote_name)
-{
-       return repo_promisor_remote_find(the_repository, remote_name);
-}
-
 int repo_has_promisor_remote(struct repository *r);
-static inline int has_promisor_remote(void)
-{
-       return repo_has_promisor_remote(the_repository);
-}
 
 /*
  * Fetches all requested objects from all promisor remotes, trying them one at