]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/receive-pack.c
trace: improve trace performance
[thirdparty/git.git] / builtin / receive-pack.c
index c3230817db4a7676eb74335b254f30597e66edd9..145105068999634a43d172b31d5a6c8dc7d12572 100644 (file)
@@ -438,7 +438,7 @@ static int update_shallow_ref(struct command *cmd, struct shallow_info *si)
        uint32_t mask = 1 << (cmd->index % 32);
        int i;
 
-       trace_printf_key("GIT_TRACE_SHALLOW",
+       trace_printf_key(&trace_shallow,
                         "shallow: update_shallow_ref %s\n", cmd->ref_name);
        for (i = 0; i < si->shallow->nr; i++)
                if (si->used_shallow[i] &&