aboutsummaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 03:00:38 +0000
committerJunio C Hamano <gitster@pobox.com>2023-04-11 08:52:08 -0700
commit74ea5c9574d29a510602492fcd672e5d09c841b0 (patch)
tree42338f5830599de07b782a6c6307cd9902793106 /git.c
parentMerge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-... (diff)
downloadgit-74ea5c9574d29a510602492fcd672e5d09c841b0.tar.gz
git-74ea5c9574d29a510602492fcd672e5d09c841b0.zip
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>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.c b/git.c
index 77f920a6f6..d2bb86e0d3 100644
--- a/git.c
+++ b/git.c
@@ -9,6 +9,8 @@
#include "replace-object.h"
#include "setup.h"
#include "shallow.h"
+#include "trace.h"
+#include "trace2.h"
#define RUN_SETUP (1<<0)
#define RUN_SETUP_GENTLY (1<<1)
Alan Cox1-1/+0 2002-10-27[PATCH] make gscd compile againAlan Cox1-1/+1 2002-10-27[PATCH] xd_open is goneAlan Cox1-1/+0 2002-10-27[PATCH] fix umem driver to use pci_get/set..Alan Cox1-8/+3 2002-10-27[PATCH] merge befs file system from 2.4 (no core changes)Alan Cox23-1/+3940 2002-10-27[PATCH] get the right thing out of se401 on gcc 3.2Alan Cox1-2/+4 2002-10-27[PATCH] update qlogicfas driverAlan Cox2-273/+388 2002-10-27[PATCH] correct notes on scsi generic releaseAlan Cox1-2/+2 2002-10-27[PATCH] SCSI configure helpAlan Cox1-8/+21 2002-10-27[PATCH] next NCR5380 updatesAlan Cox15-537/+507 2002-10-27[PATCH] u14-34f update from maintainerAlan Cox2-18/+48 2002-10-27[PATCH] finish updating sym53c416Alan Cox2-25/+47 2002-10-27[PATCH] nsp_cs update from maintainerAlan Cox5-291/+722 2002-10-27[PATCH] fix scsi irq errors on seagateAlan Cox2-0/+9 2002-10-27[PATCH] nsp32 needs updating for scsi_hn_getAlan Cox1-5/+3 2002-10-27[PATCH] resurrect the NCR53c406aAlan Cox2-806/+777 2002-10-27[PATCH] ncr53c8xxx needs updating for scsi_hn_getAlan Cox1-9/+4 2002-10-27[PATCH] inia100 just has to lose a next: NULLAlan Cox1-2/+1 2002-10-27[PATCH] fix all the IRQ breakage on the in2000Alan Cox2-14/+13 2002-10-27[PATCH] initial eata driver updatesAlan Cox4-88/+216 2002-10-27[PATCH] fix aic7xxx on gcc 3.2 warning spewAlan Cox1-20/+20 2002-10-27[PATCH] move advansys from pcibios to pci_Alan Cox1-23/+11 2002-10-27[PATCH] ressurect the aha1740 driverAlan Cox1-12/+19 2002-10-27[PATCH] move 53c7,8xx to pci_ not pcibiosAlan Cox2-11/+7 2002-10-27[PATCH] small scsi compile fixesAlan Cox7-24/+15 2002-10-27[PATCH] MCA bus basic cleanupsAlan Cox8-1540/+1323 2002-10-18Linux v2.5.44v2.5.44Linus Torvalds1-1/+1 2002-10-18[PATCH] device removalPatrick Mochel2-3/+4