Code

git-annotate: no need to exec blame; it is built-in now.
authorJunio C Hamano <junkio@cox.net>
Fri, 10 Nov 2006 21:36:44 +0000 (13:36 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 10 Nov 2006 21:36:44 +0000 (13:36 -0800)
builtin-annotate.c

index 25ad473711379d6f696a43020e065f9706da9841..57c46840d542f31dd4e42455140fc901f1eeb671 100644 (file)
@@ -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);
 }