Browse Source

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>
maint
Timo Hirvonen 19 years ago committed by Junio C Hamano
parent
commit
e82e058d3a
  1. 2
      exec_cmd.c

2
exec_cmd.c

@ -98,8 +98,8 @@ int execv_git_cmd(const char **argv)
argv[0] = git_command; argv[0] = git_command;


if (getenv("GIT_TRACE")) { if (getenv("GIT_TRACE")) {
fputs("trace: exec:", stderr);
const char **p = argv; const char **p = argv;
fputs("trace: exec:", stderr);
while (*p) { while (*p) {
fputc(' ', stderr); fputc(' ', stderr);
sq_quote_print(stderr, *p); sq_quote_print(stderr, *p);

Loading…
Cancel
Save