]> git.ipfire.org Git - thirdparty/git.git/blobdiff - quote.c
fast-import: use write_pack_header()
[thirdparty/git.git] / quote.c
diff --git a/quote.c b/quote.c
index bcc0dbc50d9b98bb5317398505d6548c98005c2f..ced0245e801861fc4744fe2a803cab40405dd078 100644 (file)
--- a/quote.c
+++ b/quote.c
@@ -1,6 +1,6 @@
 #include "cache.h"
 #include "quote.h"
-#include "argv-array.h"
+#include "strvec.h"
 
 int quote_path_fully = 1;
 
@@ -172,7 +172,7 @@ char *sq_dequote(char *arg)
 
 static int sq_dequote_to_argv_internal(char *arg,
                                       const char ***argv, int *nr, int *alloc,
-                                      struct argv_array *array)
+                                      struct strvec *array)
 {
        char *next = arg;
 
@@ -187,7 +187,7 @@ static int sq_dequote_to_argv_internal(char *arg,
                        (*argv)[(*nr)++] = dequoted;
                }
                if (array)
-                       argv_array_push(array, dequoted);
+                       strvec_push(array, dequoted);
        } while (next);
 
        return 0;
@@ -198,7 +198,7 @@ int sq_dequote_to_argv(char *arg, const char ***argv, int *nr, int *alloc)
        return sq_dequote_to_argv_internal(arg, argv, nr, alloc, NULL);
 }
 
-int sq_dequote_to_argv_array(char *arg, struct argv_array *array)
+int sq_dequote_to_strvec(char *arg, struct strvec *array)
 {
        return sq_dequote_to_argv_internal(arg, NULL, NULL, NULL, array);
 }