submodule: convert push_unpushed_submodules to take a struct refspec
Convert 'push_unpushed_submodules()' to take a 'struct refspec' as a parameter instead of an array of 'const char *'. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
afb1aed403
commit
60fba4bf16
@ -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);
|
||||
/*
|
||||
|
Reference in New Issue
Block a user