mirror of
https://github.com/git/git
synced 2024-10-01 06:05:20 +00:00
9e27beaa23
This is implemented for now by calling fetch_objects(). It fetches from all the promisor remotes. Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Helped-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
22 lines
530 B
C
22 lines
530 B
C
#ifndef PROMISOR_REMOTE_H
|
|
#define PROMISOR_REMOTE_H
|
|
|
|
struct object_id;
|
|
|
|
/*
|
|
* Promisor remote linked list
|
|
* Its information come from remote.XXX config entries.
|
|
*/
|
|
struct promisor_remote {
|
|
struct promisor_remote *next;
|
|
const char name[FLEX_ARRAY];
|
|
};
|
|
|
|
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,
|
|
const struct object_id *oids,
|
|
int oid_nr);
|
|
|
|
#endif /* PROMISOR_REMOTE_H */
|