2 * "git annotate" builtin alias
4 * Copyright (C) 2006 Ryan Anderson
6 #include "git-compat-util.h"
8 #include "argv-array.h"
10 int cmd_annotate(int argc, const char **argv, const char *prefix)
12 struct argv_array args = ARGV_ARRAY_INIT;
15 argv_array_pushl(&args, "annotate", "-c", NULL);
17 for (i = 1; i < argc; i++) {
18 argv_array_push(&args, argv[i]);
21 return cmd_blame(args.argc, args.argv, prefix);