summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2006-09-12 04:43:08 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-13 05:36:19 (GMT)
commit6d2489235f5430071b8df2281c5f9ce00097bb31 (patch)
tree69797f7bfb22ce6ea1565b593e33a38a0efb4752
parentf42a5c4eb0453cd33276e078cd7541b1ef25b2c4 (diff)
downloadgit-6d2489235f5430071b8df2281c5f9ce00097bb31.zip
git-6d2489235f5430071b8df2281c5f9ce00097bb31.tar.gz
git-6d2489235f5430071b8df2281c5f9ce00097bb31.tar.bz2
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>
-rw-r--r--trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace.c b/trace.c
index ce01c34..f9efc91 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;