aboutsummaryrefslogtreecommitdiffstats
path: root/trace.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 00:41:48 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-11 08:52:09 -0700
commit5579f44d2fb37e1126e71870b208d93e93e510ac (patch)
tree1639dc5556ad7f1c8ca7e62c1e5a6b5a3a48584d /trace.c
parent5bc07225e5ee8b315289ae26799840721fc0f321 (diff)
downloadgit-5579f44d2fb37e1126e71870b208d93e93e510ac.tar.gz
treewide: remove unnecessary cache.h inclusion
Several files were including cache.h solely to get other headers, such as trace.h and trace2.h. Since the last few commits have modified files to make these dependencies more explicit, the inclusion of cache.h is no longer needed in several cases. Remove it. 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 'trace.c')
-rw-r--r--trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace.c b/trace.c
index d8eaa0a786..592c141d78 100644
--- a/trace.c
+++ b/trace.c
@@ -21,7 +21,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include "cache.h"
+#include "git-compat-util.h"
#include "abspath.h"
#include "environment.h"
#include "quote.h"