X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=promisor-remote.h;h=2cb9eda9ea46a9c004757693fc230dc90cebfc50;hb=d1cbe1e6d8a9cab2b4ffe8a17d34db214dce1e49;hp=df36eb08efc2e194b6fc4f770235fb9707770de6;hpb=3f2e4c09c769dc2fbbabfcfa625451f9d98bd49a;p=thirdparty%2Fgit.git diff --git a/promisor-remote.h b/promisor-remote.h index df36eb08ef..2cb9eda9ea 100644 --- a/promisor-remote.h +++ b/promisor-remote.h @@ -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