Skip to content

Commit

Permalink
Fix space in string " false" problem in "trace.c".
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Christian Couder authored and Junio C Hamano committed Sep 13, 2006
1 parent f42a5c4 commit 6d24892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d24892

Please sign in to comment.