treewide: remove cache.h inclusion due to object-name.h changes

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren 2023-04-11 00:41:50 -07:00 committed by Junio C Hamano
parent dabab1d6e6
commit e93fc5d721
13 changed files with 10 additions and 13 deletions

View File

@ -1,5 +1,4 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "cache.h"
#include "advice.h" #include "advice.h"
#include "config.h" #include "config.h"
#include "branch.h" #include "branch.h"

View File

@ -1,9 +1,10 @@
#include "cache.h" #include "git-compat-util.h"
#include "object-name.h" #include "object-name.h"
#include "remote.h" #include "remote.h"
#include "refspec.h" #include "refspec.h"
#include "checkout.h" #include "checkout.h"
#include "config.h" #include "config.h"
#include "strbuf.h"
struct tracking_name_data { struct tracking_name_data {
/* const */ char *src_ref; /* const */ char *src_ref;

View File

@ -1,4 +1,4 @@
#include "cache.h" #include "git-compat-util.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "environment.h" #include "environment.h"

View File

@ -1,4 +1,4 @@
#include "cache.h" #include "git-compat-util.h"
#include "environment.h" #include "environment.h"
#include "string-list.h" #include "string-list.h"
#include "mailmap.h" #include "mailmap.h"

View File

@ -1,4 +1,4 @@
#include "cache.h" #include "git-compat-util.h"
#include "config.h" #include "config.h"
#include "environment.h" #include "environment.h"
#include "hex.h" #include "hex.h"

2
refs.c
View File

@ -2,7 +2,7 @@
* The backend-independent part of the reference module. * The backend-independent part of the reference module.
*/ */
#include "cache.h" #include "git-compat-util.h"
#include "advice.h" #include "advice.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"

View File

@ -1,4 +1,4 @@
#include "cache.h" #include "git-compat-util.h"
#include "abspath.h" #include "abspath.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"

View File

@ -1,4 +1,4 @@
#include "cache.h" #include "git-compat-util.h"
#include "abspath.h" #include "abspath.h"
#include "environment.h" #include "environment.h"
#include "gettext.h" #include "gettext.h"

View File

@ -1,4 +1,4 @@
#include "cache.h" #include "git-compat-util.h"
#include "abspath.h" #include "abspath.h"
#include "alloc.h" #include "alloc.h"
#include "environment.h" #include "environment.h"

View File

@ -1,5 +1,4 @@
#include "test-tool.h" #include "test-tool.h"
#include "cache.h"
#include "hex.h" #include "hex.h"
#include "object-name.h" #include "object-name.h"
#include "oidmap.h" #include "oidmap.h"

View File

@ -1,5 +1,4 @@
#include "test-tool.h" #include "test-tool.h"
#include "cache.h"
#include "alloc.h" #include "alloc.h"
#include "commit.h" #include "commit.h"
#include "commit-reach.h" #include "commit-reach.h"

View File

@ -1,5 +1,4 @@
#include "test-tool.h" #include "test-tool.h"
#include "cache.h"
#include "config.h" #include "config.h"
#include "object-name.h" #include "object-name.h"
#include "setup.h" #include "setup.h"

View File

@ -1,4 +1,4 @@
#include "cache.h" #include "git-compat-util.h"
#include "transport.h" #include "transport.h"
#include "quote.h" #include "quote.h"
#include "run-command.h" #include "run-command.h"