]>
git.ipfire.org Git - thirdparty/git.git/blob - builtin-annotate.c
2 * "git annotate" builtin alias
4 * Copyright (C) 2006 Ryan Anderson
6 #include "git-compat-util.h"
9 int cmd_annotate(int argc
, const char **argv
, const char *prefix
)
13 nargv
= xmalloc(sizeof(char *) * (argc
+ 2));
15 nargv
[0] = "annotate";
18 for (i
= 1; i
< argc
; i
++) {
21 nargv
[argc
+ 1] = NULL
;
23 return cmd_blame(argc
+ 1, nargv
, prefix
);