Skip to content

Commit dcd3b81

Browse files
committed
tests: support CLAR_TRACE_LEVEL
The CLAR_TRACE_LEVEL environment variable was supported when building with GIT_TRACE. Now we always build with GIT_TRACE, but that variable is not provided to tests. Simply support clar tracing always.
1 parent 84b99a9 commit dcd3b81

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/clar_libgit2_trace.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#include "clar_libgit2_trace.h"
2-
3-
#if defined(GIT_TRACE)
4-
52
#include "clar_libgit2.h"
63
#include "clar_libgit2_timer.h"
74
#include "trace.h"
@@ -264,15 +261,3 @@ void cl_global_trace_disable(void)
264261
* once.
265262
*/
266263
}
267-
268-
#else /* GIT_TRACE */
269-
270-
void cl_global_trace_register(void)
271-
{
272-
}
273-
274-
void cl_global_trace_disable(void)
275-
{
276-
}
277-
278-
#endif /* GIT_TRACE*/

0 commit comments

Comments
 (0)