diff options
author | Jeff King <peff@peff.net> | 2011-02-24 09:28:59 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-08 12:12:04 -0800 |
commit | 39bc5e4680a1ed7192968fbe9f5784ad56ecbd36 (patch) | |
tree | ca97ba49a31a39d59a5d61bf4cfcf07904317255 /git-gui/GIT-VERSION-GEN | |
parent | trace: refactor to support multiple env variables (diff) | |
download | tgif-39bc5e4680a1ed7192968fbe9f5784ad56ecbd36.tar.xz |
trace: factor out "do we want to trace" logic
As we add more tracing areas, this will avoid repeated code.
Technically, trace_printf already checks this and will avoid
printing if the trace key is not set. However, callers may
want to find out early whether or not tracing is enabled so
they can avoid doing work in the common non-trace case.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions