Fix space in string " false" problem in "trace.c".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
f42a5c4eb0
commit
6d2489235f
2
trace.c
2
trace.c
@ -55,7 +55,7 @@ static int get_trace_fd(int *need_close)
|
||||
{
|
||||
char *trace = getenv("GIT_TRACE");
|
||||
|
||||
if (!trace || !strcmp(trace, "0") || !strcasecmp(trace," false"))
|
||||
if (!trace || !strcmp(trace, "0") || !strcasecmp(trace, "false"))
|
||||
return 0;
|
||||
if (!strcmp(trace, "1") || !strcasecmp(trace, "true"))
|
||||
return STDERR_FILENO;
|
||||
|
Loading…
Reference in New Issue
Block a user