summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-05 10:47:29 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-05 10:47:29 (GMT)
commit9201c707426b3dc0c894775416f576c25c008d46 (patch)
tree235727178999b09a9d26ff4c384199558761fe15 /shell.c
parent4a5d6939509f9aeef600ea17643caef4c898b12f (diff)
downloadgit-9201c707426b3dc0c894775416f576c25c008d46.zip
git-9201c707426b3dc0c894775416f576c25c008d46.tar.gz
git-9201c707426b3dc0c894775416f576c25c008d46.tar.bz2
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 <junkio@cox.net>
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.c b/shell.c
index fc0c73c..8c08cf0 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 {