diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-12-17 07:43:50 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-18 10:44:30 -0800 |
| commit | bd0c0fb790dcb6cd32a585e1d9fcb0a4a4f7379b (patch) | |
| tree | 106b99f27572abbb1b4b04db2b37a4896f624dcb /trace.h | |
| parent | 59b6131a677b0b45fb7fd54ba60dbf689b0a1797 (diff) | |
| download | git-bd0c0fb790dcb6cd32a585e1d9fcb0a4a4f7379b.tar.xz | |
trace: stop using `the_repository`
Stop using `the_repository` in the "trace" subsystem by passing in a
repository when setting up tracing.
Adjust the only caller accordingly.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.h')
| -rw-r--r-- | trace.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -92,7 +92,9 @@ extern struct trace_key trace_default_key; extern struct trace_key trace_perf_key; extern struct trace_key trace_setup_key; -void trace_repo_setup(void); +struct repository; + +void trace_repo_setup(struct repository *r); /** * Checks whether the trace key is enabled. Used to prevent expensive |
