Skip to content

Commit

Permalink
GIT_TRACE: fix a mixed declarations and code warning
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Timo Hirvonen authored and Junio C Hamano committed Jul 9, 2006
1 parent 575ba9d commit e82e058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e82e058

Please sign in to comment.