From: Junio C Hamano Date: Fri, 10 Nov 2006 21:36:44 +0000 (-0800) Subject: git-annotate: no need to exec blame; it is built-in now. X-Git-Tag: v1.4.4-rc2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a19f901d9f07b07abd2bfbad62037b9783fcaa7c;p=git.git git-annotate: no need to exec blame; it is built-in now. --- diff --git a/builtin-annotate.c b/builtin-annotate.c index 25ad47371..57c46840d 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); }