mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
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;
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue