threads / patch / 4692

patchFix a mixed declarations and code warning

Subject: [PATCH] Fix a mixed declarations and code warning

## tl;dr

One message between Jun 28, 2006 and Jun 28, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Timo Hirvonen· Jun 28, 2006, 09:15 UTC · lore
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
---
  NOTE: This is for the pu branch
 exec_cmd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to exec_cmd.c +1 −1
diff --git a/exec_cmd.c b/exec_cmd.c
index f2133ec..62f51fc 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);
-- 
1.4.1.rc1.g1ef9

← back to recent threads