remote: convert get_stale_heads to take a struct refspec
Convert 'get_stale_heads()' to take a 'struct refspec' as a parameter instead of a list of 'struct refspec_item'. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
def11e7193
commit
a2ac50cbfd
2
remote.h
2
remote.h
@ -267,7 +267,7 @@ struct ref *guess_remote_head(const struct ref *head,
|
||||
int all);
|
||||
|
||||
/* Return refs which no longer exist on remote */
|
||||
struct ref *get_stale_heads(struct refspec_item *refs, int ref_count, struct ref *fetch_map);
|
||||
struct ref *get_stale_heads(struct refspec *rs, struct ref *fetch_map);
|
||||
|
||||
/*
|
||||
* Compare-and-swap
|
||||
|
Reference in New Issue
Block a user