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