aboutsummaryrefslogtreecommitdiff
path: root/alias.c
diff options
context:
space:
mode:
authorGennady Kupava <gkupava@bloomberg.net>2017-11-26 20:11:19 +0000
committerJunio C Hamano <gitster@pobox.com>2017-12-06 09:43:02 -0800
commit8eeb25c6795af71400537e8ab064407d7998e0e2 (patch)
tree6770696f980fedd713b8235ea3d96a868663f8fa /alias.c
parent406102a731145d39c497e384857ac9f9d2bdccb2 (diff)
downloadgit-8eeb25c6795af71400537e8ab064407d7998e0e2.tar.gz
git-8eeb25c6795af71400537e8ab064407d7998e0e2.tar.xz
trace: improve performance while category is disabled
Move just enough code from trace.c into trace.h header so all code necessary to determine that trace is disabled could be inlined to calling functions. Then perform the check if the trace key is enabled sooner in call chain. Signed-off-by: Gennady Kupava <gkupava@bloomberg.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alias.c')
0 files changed, 0 insertions, 0 deletions