]> git.ipfire.org Git - thirdparty/git.git/blobdiff - remote.h
remote: convert match_push_refs to take a struct refspec
[thirdparty/git.git] / remote.h
index 9050ff75ac0df48cc6bdbb06a48ba16ff5f0eb51..74c55745780ec3d43917afb69c1b9a2e7b3ee640 100644 (file)
--- a/remote.h
+++ b/remote.h
@@ -163,7 +163,7 @@ char *apply_refspecs(struct refspec *rs, const char *name);
 
 int check_push_refs(struct ref *src, int nr_refspec, const char **refspec);
 int match_push_refs(struct ref *src, struct ref **dst,
-                   int nr_refspec, const char **refspec, int all);
+                   struct refspec *rs, int flags);
 void set_ref_status_for_push(struct ref *remote_refs, int send_mirror,
        int force_update);