]> git.ipfire.org Git - thirdparty/git.git/blobdiff - trace.h
The sixth batch
[thirdparty/git.git] / trace.h
diff --git a/trace.h b/trace.h
index 9826618b331af6574dd81387f6210eba803636e0..0dbbad0e41cb074e669f58fc3ed347e16faeb45c 100644 (file)
--- a/trace.h
+++ b/trace.h
@@ -101,6 +101,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.