unpack-objects: call fsck_finish() after fscking objects
[git/debian.git] / builtin / annotate.c
blobda413ae0d178b53d6b1e6c193577c23923255245
1 /*
2 * "git annotate" builtin alias
4 * Copyright (C) 2006 Ryan Anderson
5 */
6 #include "git-compat-util.h"
7 #include "builtin.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;
13 int i;
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);