diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-30 21:34:59 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-30 22:49:57 +0300 |
commit | cb50761959c0c30aa9c44098db3a72db06570238 (patch) | |
tree | 3270957e18f712177b784d09f4a7d06b4bf2bc54 /trace.h | |
parent | 48988c4d0c35b5c569a2645b61c9346f6062021d (diff) |
trace.c: export trace_setup_key
This is so that we can print traces based on this key outside trace.c.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.h')
-rw-r--r-- | trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ extern struct trace_key trace_default_key; #define TRACE_KEY_INIT(name) { "GIT_TRACE_" #name, 0, 0, 0 } extern struct trace_key trace_perf_key; +extern struct trace_key trace_setup_key; extern void trace_repo_setup(const char *prefix); extern int trace_want(struct trace_key *key); |