Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'trace.h')
-rw-r--r--trace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/trace.h b/trace.h
index 9826618b33..0dbbad0e41 100644
--- a/trace.h
+++ b/trace.h
@@ -102,6 +102,12 @@ void trace_repo_setup(const char *prefix);
int trace_want(struct trace_key *key);
/**
+ * Enables or disables tracing for the specified key, as if the environment
+ * variable was set to the given value.
+ */
+void trace_override_envvar(struct trace_key *key, const char *value);
+
+/**
* Disables tracing for the specified key, even if the environment variable
* was set.
*/