trace: disable additional trace output for unit tests
commit124647c4b007eff04144d75042d9d95f63e303f7
authorKarsten Blees <karsten.blees@gmail.com>
Sat, 12 Jul 2014 00:03:01 +0000 (12 02:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jul 2014 04:25:19 +0000 (13 21:25 -0700)
treee63a8203700ce48fc39d780675ebaac879c92449
parentc69dfd24db21be54ec5a17bb3e07c81f4e96861a
trace: disable additional trace output for unit tests

Some unit-tests use trace output to verify internal state, and unstable
output such as timestamps and line numbers are not useful there.

Disable additional trace output if GIT_TRACE_BARE is set.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh
trace.c