refspec: rename struct refspec to struct refspec_item
[git/git.git] / builtin / submodule--helper.c
index 6ab032a..c0c4db0 100644 (file)
@@ -1746,11 +1746,11 @@ static int push_check(int argc, const char **argv, const char *prefix)
        if (argc > 2) {
                int i, refspec_nr = argc - 2;
                struct ref *local_refs = get_local_heads();
-               struct refspec *refspec = parse_push_refspec(refspec_nr,
+               struct refspec_item *refspec = parse_push_refspec(refspec_nr,
                                                             argv + 2);
 
                for (i = 0; i < refspec_nr; i++) {
-                       struct refspec *rs = refspec + i;
+                       struct refspec_item *rs = refspec + i;
 
                        if (rs->pattern || rs->matching)
                                continue;