about summary refs log tree commit diff
path: root/third_party/git/builtin/annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/builtin/annotate.c')
-rw-r--r--third_party/git/builtin/annotate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/git/builtin/annotate.c b/third_party/git/builtin/annotate.c
index da413ae0d178..58ff977a2314 100644
--- a/third_party/git/builtin/annotate.c
+++ b/third_party/git/builtin/annotate.c
@@ -5,18 +5,18 @@
  */
 #include "git-compat-util.h"
 #include "builtin.h"
-#include "argv-array.h"
+#include "strvec.h"
 
 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);
+	return cmd_blame(args.nr, args.v, prefix);
 }