Merge branch 'en/header-split-cache-h'

Header clean-up.

* en/header-split-cache-h: (24 commits)
  protocol.h: move definition of DEFAULT_GIT_PORT from cache.h
  mailmap, quote: move declarations of global vars to correct unit
  treewide: reduce includes of cache.h in other headers
  treewide: remove double forward declaration of read_in_full
  cache.h: remove unnecessary includes
  treewide: remove cache.h inclusion due to pager.h changes
  pager.h: move declarations for pager.c functions from cache.h
  treewide: remove cache.h inclusion due to editor.h changes
  editor: move editor-related functions and declarations into common file
  treewide: remove cache.h inclusion due to object.h changes
  object.h: move some inline functions and defines from cache.h
  treewide: remove cache.h inclusion due to object-file.h changes
  object-file.h: move declarations for object-file.c functions from cache.h
  treewide: remove cache.h inclusion due to git-zlib changes
  git-zlib: move declarations for git-zlib functions from cache.h
  treewide: remove cache.h inclusion due to object-name.h changes
  object-name.h: move declarations for object-name.c functions from cache.h
  treewide: remove unnecessary cache.h inclusion
  treewide: be explicit about dependence on mem-pool.h
  treewide: be explicit about dependence on oid-array.h
  ...
This commit is contained in:
Junio C Hamano
2023-04-25 13:56:19 -07:00
217 changed files with 827 additions and 479 deletions

View File

@ -1,6 +1,6 @@
#include "test-tool.h"
#include "cache.h"
#include "date.h"
#include "trace.h"
static const char *usage_msg = "\n"
" test-tool date relative [time_t]...\n"

View File

@ -20,6 +20,7 @@
#include "hex.h"
#include "lockfile.h"
#include "merge-ort.h"
#include "object-name.h"
#include "refs.h"
#include "revision.h"
#include "sequencer.h"

View File

@ -4,6 +4,7 @@
#include "environment.h"
#include "parse-options.h"
#include "setup.h"
#include "trace.h"
static int single;
static int multi;

View File

@ -1,6 +1,7 @@
#include "test-tool.h"
#include "cache.h"
#include "hex.h"
#include "object-name.h"
#include "setup.h"
#include "tree.h"

View File

@ -1,5 +1,6 @@
#include "test-tool.h"
#include "cache.h"
#include "mem-pool.h"
#include "mergesort.h"
static uint32_t minstd_rand(uint32_t *state)

View File

@ -1,6 +1,6 @@
#include "test-tool.h"
#include "cache.h"
#include "hex.h"
#include "object-name.h"
#include "oidmap.h"
#include "setup.h"
#include "strbuf.h"

View File

@ -4,6 +4,7 @@
#include "environment.h"
#include "setup.h"
#include "string-list.h"
#include "trace.h"
#include "utf8.h"
/*

View File

@ -1,11 +1,11 @@
#include "test-tool.h"
#include "cache.h"
#include "alloc.h"
#include "commit.h"
#include "commit-reach.h"
#include "config.h"
#include "gettext.h"
#include "hex.h"
#include "object-name.h"
#include "parse-options.h"
#include "ref-filter.h"
#include "setup.h"

View File

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