submodule: convert push_unpushed_submodules to take a struct refspec
[gitweb.git] / submodule.h
index e5526f6aaab93f85d279e89fc33b8e2e8740c32a..aae0c9c8fffebb5bc256f6d6bf2cef3590d80bfc 100644 (file)
@@ -100,9 +100,10 @@ extern int submodule_touches_in_range(struct object_id *a,
 extern int find_unpushed_submodules(struct oid_array *commits,
                                    const char *remotes_name,
                                    struct string_list *needs_pushing);
+struct refspec;
 extern int push_unpushed_submodules(struct oid_array *commits,
                                    const struct remote *remote,
-                                   const char **refspec, int refspec_nr,
+                                   const struct refspec *rs,
                                    const struct string_list *push_options,
                                    int dry_run);
 /*