]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/annotate.c
strvec: convert builtin/ callers away from argv_array name
[thirdparty/git.git] / builtin / annotate.c
index 43534487120f05fca1c1f59de76dc13613a451ca..7b7ecd366dc3e58892adc82d6ba52f79b3d6fd3e 100644 (file)
@@ -9,13 +9,13 @@
 
 int cmd_annotate(int argc, const char **argv, const char *prefix)
 {
-       struct argv_array args = ARGV_ARRAY_INIT;
+       struct strvec args = STRVEC_INIT;
        int i;
 
-       argv_array_pushl(&args, "annotate", "-c", NULL);
+       strvec_pushl(&args, "annotate", "-c", NULL);
 
        for (i = 1; i < argc; i++) {
-               argv_array_push(&args, argv[i]);
+               strvec_push(&args, argv[i]);
        }
 
        return cmd_blame(args.argc, args.argv, prefix);