Browse Source

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>
main
Elijah Newren 1 year ago committed by Junio C Hamano
parent
commit
e93fc5d721
  1. 1
      branch.c
  2. 3
      checkout.c
  3. 2
      fmt-merge-msg.c
  4. 2
      mailmap.c
  5. 2
      notes.c
  6. 2
      refs.c
  7. 2
      remote.c
  8. 2
      setup.c
  9. 2
      strbuf.c
  10. 1
      t/helper/test-oidmap.c
  11. 1
      t/helper/test-reach.c
  12. 1
      t/helper/test-submodule-config.c
  13. 2
      transport-helper.c

1
branch.c

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

3
checkout.c

@ -1,9 +1,10 @@ @@ -1,9 +1,10 @@
#include "cache.h"
#include "git-compat-util.h"
#include "object-name.h"
#include "remote.h"
#include "refspec.h"
#include "checkout.h"
#include "config.h"
#include "strbuf.h"

struct tracking_name_data {
/* const */ char *src_ref;

2
fmt-merge-msg.c

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

2
mailmap.c

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

2
notes.c

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

2
refs.c

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
* The backend-independent part of the reference module.
*/

#include "cache.h"
#include "git-compat-util.h"
#include "advice.h"
#include "alloc.h"
#include "config.h"

2
remote.c

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

2
setup.c

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

2
strbuf.c

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

1
t/helper/test-oidmap.c

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

1
t/helper/test-reach.c

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

1
t/helper/test-submodule-config.c

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

2
transport-helper.c

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

Loading…
Cancel
Save