diff options
Diffstat (limited to 'builtin/annotate.c')
-rw-r--r-- | builtin/annotate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/annotate.c b/builtin/annotate.c index 4353448712..7b7ecd366d 100644 --- a/builtin/annotate.c +++ b/builtin/annotate.c @@ -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); |