summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-11-10 13:36:44 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-10 13:36:44 -0800
commita19f901d9f07b07abd2bfbad62037b9783fcaa7c (patch)
tree61c5d99a3a5911159de50f8eee05e6de42e8ccef
parentMerge branch 'maint' (diff)
downloadtgif-a19f901d9f07b07abd2bfbad62037b9783fcaa7c.tar.xz
git-annotate: no need to exec blame; it is built-in now.
-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);
}