remote: convert get_ref_match to take a struct refspec
[gitweb.git] / builtin / fast-export.c
index 143999738e352088c774e513fb25611812615e3a..41fe49e4d6b76d4032d5768960bcc2ec1b4399fb 100644 (file)
@@ -831,7 +831,7 @@ static void get_tags_and_duplicates(struct rev_cmdline_info *info)
 
                if (refspecs.nr) {
                        char *private;
-                       private = apply_refspecs(refspecs.items, refspecs.nr, full_name);
+                       private = apply_refspecs(&refspecs, full_name);
                        if (private) {
                                free(full_name);
                                full_name = private;