Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 10:41:48 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-11 18:52:09 +0300
commit5579f44d2fb37e1126e71870b208d93e93e510ac (patch)
tree1639dc5556ad7f1c8ca7e62c1e5a6b5a3a48584d /scalar.c
parent5bc07225e5ee8b315289ae26799840721fc0f321 (diff)
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 'scalar.c')
-rw-r--r--scalar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalar.c b/scalar.c
index f7680463e1..af64f75ca6 100644
--- a/scalar.c
+++ b/scalar.c
@@ -2,7 +2,7 @@
* The Scalar command-line interface.
*/
-#include "cache.h"
+#include "git-compat-util.h"
#include "abspath.h"
#include "gettext.h"
#include "parse-options.h"