diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-16 15:58:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 06:19:43 +0900 |
commit | 86baf82521de70184182972b96bbf1859f097366 (patch) | |
tree | 8155a3e2dea2e8a968aa70a35481acc886118941 /remote.h | |
parent | d000414e26654f6f13526e4b83c648d7119586f0 (diff) | |
download | git-86baf82521de70184182972b96bbf1859f097366.tar.gz |
remote: convert query_refspecs to take a struct refspec
Convert 'query_refspecs()' to take a 'struct refspec' as a parameter instead
of a list of 'struct refspec_item'.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ int ref_newer(const struct object_id *new_oid, const struct object_id *old_oid); */ struct ref *ref_remove_duplicates(struct ref *ref_map); -extern int query_refspecs(struct refspec_item *specs, int nr, struct refspec_item *query); +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); |