X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.h;h=b3955983ba5caea698a78868abcbb54451b6daa8;hb=35a71f1402b40b580d985a9d7e5fb1c9ec4d0232;hp=9a30a9dba64825950f7a0448ad8b64581c0b8fae;hpb=c31b87d111f6df359255979ea94e8648a51c3647;p=git.git diff --git a/remote.h b/remote.h index 9a30a9dba..b3955983b 100644 --- a/remote.h +++ b/remote.h @@ -96,8 +96,8 @@ void free_refspec(int nr_refspec, struct refspec *refspec); char *apply_refspecs(struct refspec *refspecs, int nr_refspec, const char *name); -int match_refs(struct ref *src, struct ref **dst, - int nr_refspec, const char **refspec, int all); +int match_push_refs(struct ref *src, struct ref **dst, + int nr_refspec, const char **refspec, int all); void set_ref_status_for_push(struct ref *remote_refs, int send_mirror, int force_update); @@ -164,6 +164,6 @@ 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 remote *remote, struct ref *fetch_map); +struct ref *get_stale_heads(struct refspec *refs, int ref_count, struct ref *fetch_map); #endif