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