X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.h;h=5db842087da081abbad96c8f9eed5829140714d2;hb=2944e4e6145bdfcb1a8730d7da671786d72c86ed;hp=99706a89bc6011c01fcd661d8bad4b26f59b0ca7;hpb=50a991ec46d57ffc4b7fbd0e8a13182dab3cd5de;p=git.git diff --git a/remote.h b/remote.h index 99706a89b..5db842087 100644 --- a/remote.h +++ b/remote.h @@ -15,6 +15,10 @@ struct remote { int url_nr; int url_alloc; + const char **pushurl; + int pushurl_nr; + int pushurl_alloc; + const char **push_refspec; struct refspec *push; int push_refspec_nr; @@ -85,7 +89,7 @@ void ref_remove_duplicates(struct ref *ref_map); int valid_fetch_refspec(const char *refspec); struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec); -int match_refs(struct ref *src, struct ref *dst, struct ref ***dst_tail, +int match_refs(struct ref *src, struct ref **dst, int nr_refspec, const char **refspec, int all); /*