]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/remote-ext.c
Merge branch 'rs/preserve-merges-unused-code-removal'
[thirdparty/git.git] / builtin / remote-ext.c
index 6a9127a33c019c5e6336075b5f68c7514d720b04..fd3538d4f0e6924214bedc36c132f631d17f4c8b 100644 (file)
@@ -117,12 +117,12 @@ static char *strip_escapes(const char *str, const char *service,
        }
 }
 
-static void parse_argv(struct argv_array *out, const char *arg, const char *service)
+static void parse_argv(struct strvec *out, const char *arg, const char *service)
 {
        while (*arg) {
                char *expanded = strip_escapes(arg, service, &arg);
                if (expanded)
-                       argv_array_push(out, expanded);
+                       strvec_push(out, expanded);
                free(expanded);
        }
 }