From 9201c707426b3dc0c894775416f576c25c008d46 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 5 Mar 2006 02:47:29 -0800 Subject: Const tightening. Mark Wooding noticed there was a type mismatch warning in git.c; this patch does things slightly differently (mostly tightening const) and was what I was holding onto, waiting for the setup-revisions change to be merged into the master branch. Signed-off-by: Junio C Hamano --- shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell.c') diff --git a/shell.c b/shell.c index fc0c73cde7..8c08cf0fb3 100644 --- a/shell.c +++ b/shell.c @@ -15,7 +15,7 @@ static int do_generic_cmd(const char *me, char *arg) my_argv[1] = arg; my_argv[2] = NULL; - return execv_git_cmd((char**) my_argv); + return execv_git_cmd(my_argv); } static struct commands { -- cgit v1.2.3