trace: use GIT_ASSERT
diff --git a/src/trace.c b/src/trace.c
index 3acb643..efc7b01 100644
--- a/src/trace.c
+++ b/src/trace.c
@@ -20,7 +20,7 @@ struct git_trace_data git_trace__data = {0};
int git_trace_set(git_trace_level_t level, git_trace_cb callback)
{
#ifdef GIT_TRACE
- assert(level == 0 || callback != NULL);
+ GIT_ASSERT_ARG(level == 0 || callback != NULL);
git_trace__data.level = level;
git_trace__data.callback = callback;