Merge branch 'en/header-split-cache-h-part-2'
commitccd12a3d6cc62f51b746654ae56e26d92f89ba92
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 May 2023 23:45:45 +0000 (9 16:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 May 2023 23:45:46 +0000 (9 16:45 -0700)
tree5cdf347138b5307f5a8d4120b7c6b13453ac12ed
parentab828cde84c7cafb9942048d8e24ace9c625a041
parente3a3f5edf52c7f6161b167058b4d7c3a31dc0c3b
Merge branch 'en/header-split-cache-h-part-2'

More header clean-up.

* en/header-split-cache-h-part-2: (22 commits)
  reftable: ensure git-compat-util.h is the first (indirect) include
  diff.h: reduce unnecessary includes
  object-store.h: reduce unnecessary includes
  commit.h: reduce unnecessary includes
  fsmonitor: reduce includes of cache.h
  cache.h: remove unnecessary headers
  treewide: remove cache.h inclusion due to previous changes
  cache,tree: move basic name compare functions from read-cache to tree
  cache,tree: move cmp_cache_name_compare from tree.[ch] to read-cache.c
  hash-ll.h: split out of hash.h to remove dependency on repository.h
  tree-diff.c: move S_DIFFTREE_IFXMIN_NEQ define from cache.h
  dir.h: move DTYPE defines from cache.h
  versioncmp.h: move declarations for versioncmp.c functions from cache.h
  ws.h: move declarations for ws.c functions from cache.h
  match-trees.h: move declarations for match-trees.c functions from cache.h
  pkt-line.h: move declarations for pkt-line.c functions from cache.h
  base85.h: move declarations for base85.c functions from cache.h
  copy.h: move declarations for copy.c functions from cache.h
  server-info.h: move declarations for server-info.c functions from cache.h
  packfile.h: move pack_window and pack_entry from cache.h
  ...
62 files changed:
apply.c
archive.c
builtin/clone.c
builtin/diff.c
builtin/difftool.c
builtin/fetch.c
builtin/for-each-repo.c
builtin/gc.c
builtin/log.c
builtin/ls-remote.c
builtin/merge-index.c
builtin/merge-recursive.c
builtin/receive-pack.c
builtin/repack.c
builtin/upload-archive.c
builtin/worktree.c
builtin/write-tree.c
bundle-uri.c
commit-graph.c
commit.c
config.c
date.c
diagnose.c
diff.c
diff.h
fetch-pack.c
gpg-interface.c
grep.c
hashmap.h
http-push.c
log-tree.c
merge-ort.c
midx.c
object-file.c
object-name.c
object-store.h
packfile.c
parse-options-cb.c
protocol-caps.c
read-cache.c
ref-filter.c
refs/packed-backend.c
revision.h
send-pack.c
sequencer.c
t/helper/test-dump-cache-tree.c
t/helper/test-dump-fsmonitor.c
t/helper/test-dump-untracked-cache.c
t/helper/test-example-decorate.c
t/helper/test-fsmonitor-client.c
t/helper/test-match-trees.c
t/helper/test-oid-array.c
t/helper/test-oidmap.c
t/helper/test-oidtree.c
t/helper/test-parse-options.c
t/helper/test-scrap-cache-tree.c
t/helper/test-string-list.c
t/helper/test-submodule-config.c
t/helper/test-submodule.c
t/helper/test-trace2.c
unpack-trees.c
versioncmp.c