]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.c
remote: convert check_push_refs to take a struct refspec
[thirdparty/git.git] / transport.c
index 24a97d9e8d8317ff20b89262c73607476b58809f..e32bc320cf63f3264363ee9b5f0304684c7a5e47 100644 (file)
@@ -1090,7 +1090,7 @@ int transport_push(struct transport *transport,
                struct argv_array ref_prefixes = ARGV_ARRAY_INIT;
                int i;
 
-               if (check_push_refs(local_refs, rs->raw_nr, rs->raw) < 0)
+               if (check_push_refs(local_refs, rs) < 0)
                        return -1;
 
                for (i = 0; i < rs->nr; i++) {