summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Hirvonen <tihirvon@gmail.com>2006-06-28 12:15:00 +0300
committerJunio C Hamano <junkio@cox.net>2006-07-09 00:57:23 -0700
commite82e058d3ad1d50fbb99fac8630ad7b511ca4abe (patch)
treef15f7e421e6e01fcdbc824a71a26a41131700841
parent575ba9d69d5dfd07d95343fe946a5991c4cb27d6 (diff)
downloadgit-e82e058d3ad1d50fbb99fac8630ad7b511ca4abe.tar.gz
GIT_TRACE: fix a mixed declarations and code warning
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--exec_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec_cmd.c b/exec_cmd.c
index f2133ec93f..62f51fcd6e 100644
--- a/exec_cmd.c
+++ b/exec_cmd.c
@@ -98,8 +98,8 @@ int execv_git_cmd(const char **argv)
argv[0] = git_command;
if (getenv("GIT_TRACE")) {
- fputs("trace: exec:", stderr);
const char **p = argv;
+ fputs("trace: exec:", stderr);
while (*p) {
fputc(' ', stderr);
sq_quote_print(stderr, *p);