Code

GIT_TRACE: fix a mixed declarations and code warning
authorTimo Hirvonen <tihirvon@gmail.com>
Wed, 28 Jun 2006 09:15:00 +0000 (12:15 +0300)
committerJunio C Hamano <junkio@cox.net>
Sun, 9 Jul 2006 07:57:23 +0000 (00:57 -0700)
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
exec_cmd.c

index f2133ec93facc7072c69ebe15d2c911842ff60c8..62f51fcd6e367d2dc7e3dc8d967ee05fd1648d04 100644 (file)
@@ -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);