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>
This commit is contained in:
parent
575ba9d69d
commit
e82e058d3a
@ -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…
Reference in New Issue
Block a user