summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2006-09-12 06:43:08 +0200
committerJunio C Hamano <junkio@cox.net>2006-09-12 22:36:19 -0700
commit6d2489235f5430071b8df2281c5f9ce00097bb31 (patch)
tree69797f7bfb22ce6ea1565b593e33a38a0efb4752 /trace.c
parentf42a5c4eb0453cd33276e078cd7541b1ef25b2c4 (diff)
downloadgit-6d2489235f5430071b8df2281c5f9ce00097bb31.tar.gz
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>
Diffstat (limited to 'trace.c')
-rw-r--r--trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace.c b/trace.c
index ce01c34749..f9efc918b8 100644
--- a/trace.c
+++ b/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;