summaryrefslogtreecommitdiff
path: root/builtin-annotate.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-10 13:36:44 -0800
committerJunio C Hamano <junkio@cox.net>2006-11-10 13:36:44 -0800
commita19f901d9f07b07abd2bfbad62037b9783fcaa7c (patch)
tree61c5d99a3a5911159de50f8eee05e6de42e8ccef /builtin-annotate.c
parent368c2ac249ac2261784e1b9b9bc7c98c5e859052 (diff)
downloadgit-a19f901d9f07b07abd2bfbad62037b9783fcaa7c.tar.gz
git-annotate: no need to exec blame; it is built-in now.
Diffstat (limited to 'builtin-annotate.c')
-rw-r--r--builtin-annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-annotate.c b/builtin-annotate.c
index 25ad473711..57c46840d5 100644
--- a/builtin-annotate.c
+++ b/builtin-annotate.c
@@ -4,7 +4,7 @@
* Copyright (C) 2006 Ryan Anderson
*/
#include "git-compat-util.h"
-#include "exec_cmd.h"
+#include "builtin.h"
int cmd_annotate(int argc, const char **argv, const char *prefix)
{
@@ -20,6 +20,6 @@ int cmd_annotate(int argc, const char **argv, const char *prefix)
}
nargv[argc + 1] = NULL;
- return execv_git_cmd(nargv);
+ return cmd_blame(argc + 1, nargv, prefix);
}