]> git.ipfire.org Git - thirdparty/git.git/commit - http.c
treewide: be explicit about dependence on trace.h & trace2.h
authorElijah Newren <newren@gmail.com>
Tue, 11 Apr 2023 03:00:38 +0000 (03:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Apr 2023 15:52:08 +0000 (08:52 -0700)
commit74ea5c9574d29a510602492fcd672e5d09c841b0
tree42338f5830599de07b782a6c6307cd9902793106
parente7dca80692dec7f0717d9ad6d978d0ceab90cf6a
treewide: be explicit about dependence on trace.h & trace2.h

Dozens of files made use of trace and trace2 functions, without
explicitly including trace.h or trace2.h.  This made it more difficult
to find which files could remove a dependence on cache.h.  Make C files
explicitly include trace.h or trace2.h if they are using them.

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
62 files changed:
blame.c
builtin/checkout.c
builtin/commit-graph.c
builtin/fetch.c
builtin/fsmonitor--daemon.c
builtin/gc.c
builtin/push.c
builtin/rebase.c
builtin/receive-pack.c
builtin/reset.c
cache-tree.c
cache.h
chdir-notify.c
common-main.c
compat/fsmonitor/fsm-listen-win32.c
compat/mingw.c
compat/simple-ipc/ipc-unix-socket.c
compat/simple-ipc/ipc-win32.c
compat/win32/trace2_win32_process_info.c
config.c
connect.c
convert.c
diff-lib.c
dir.c
environment.c
exec-cmd.c
fetch-pack.c
fsmonitor.c
fsmonitor.h
git.c
http.c
merge-ort.c
name-hash.c
notes-merge.c
pack-bitmap.c
pack-revindex.c
packfile.c
pkt-line.c
preload-index.c
progress.c
promisor-remote.c
protocol.c
read-cache.c
remote-curl.c
repository.c
revision.c
run-command.c
scalar.c
setup.c
shallow.c
submodule.c
t/helper/test-date.c
t/helper/test-lazy-init-name-hash.c
t/helper/test-path-utils.c
trace.c
trace2.c
transport.c
tree-walk.c
unpack-trees.c
upload-pack.c
wrapper.c
wt-status.c